first commit

This commit is contained in:
dahyeon committed 2026-02-02 19:14:07 -08:00
commit b6256abbfb
397 files changed
+537630

No files matched your search

+10
View File
@@ -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