export type KeyPair = { secretKey: Uint8Array; publicKey: Uint8Array; }; export interface EncryptedPayload { cipherText: string; content: string; nonce: string; hash: string; length: number; }