/** Brand signifiying a valid value - assigned by using toSymEncryptedDataString */ export declare enum AesEncryptedDataStringBrand { _ = "" } /** Stringified JSON ciphertext (used for private keys) */ export declare type AesEncryptedDataString = string & AesEncryptedDataStringBrand; /** Encryption modes supported by crypto library (default is gcm) */ export declare enum EncryptionMode { Gcm = "gcm", Ccm = "ccm", Ocb2 = "ocb2", Cbc = "cbc" } export declare enum EncryptionCipher { Aes = "aes" } /** Parameters for encryption/decryption - for SHA256 algorithm */ export declare type AesEncryptionOptions = { salt?: string; iter?: number; mode?: EncryptionMode; iv?: string; }; /** Aes encypted data object */ export declare type AesEncryptedData = { iv?: string; iter: number; v: number; ks: number; ts: number; mode: EncryptionMode; adata: string; cipher: EncryptionCipher; ct: string; };