first commit
This commit is contained in:
commit
b6256abbfb
397 files changed
+537630
No files matched your search
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* 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
|
||||
Reference in new issue
Block a user