/** * RSA-OAEP encrypt with SHA1 (matches KakaoTalk's RSA/NONE/OAEPWithSHA1AndMGF1Padding). * Used during handshake to send the AES session key to the server. */ export declare function rsaEncryptOAEP(plaintext: Buffer, publicKeyPem: string): Buffer; /** * Convert a raw base64 public key (no PEM headers) into PEM format. */ export declare function toPem(base64Key: string): string; //# sourceMappingURL=rsa.d.ts.map