UNPKG

armor-editor

Version:

Advanced rich text editor with premium armor-grade security, real-time collaboration, spell checking, track changes, and framework-agnostic design for React, Vue, Angular, Next.js, Nuxt.js

11 lines (10 loc) 386 B
export declare class EncryptionSystem { private keyPair; private sharedKeys; constructor(); private generateKeyPair; encryptContent(content: string, recipientPublicKey?: CryptoKey): Promise<string>; decryptContent(encryptedData: string): Promise<string>; exportPublicKey(): Promise<string>; importPublicKey(keyData: string): Promise<CryptoKey | null>; }