UNPKG

cross-crypto-ts

Version:

Cifrado híbrido AES-GCM + RSA-OAEP con interoperabilidad entre TypeScript y Python, con diseño compatible para Rust.

5 lines 337 B
import { EncryptedPayload, EncryptHybridOptions } from "./types"; type EncryptMode = "json" | "binary" | "stream" | "v8"; export declare function encryptHybrid(data: object | Uint8Array | string, publicKeyPem: string, mode?: EncryptMode, options?: EncryptHybridOptions): EncryptedPayload; export {}; //# sourceMappingURL=encrypt.d.ts.map