interface Decryptors {
    decrypt: (
        ciphertext: AESEncryptedSecretStoragePayload,
    ) => Promise<string>;
    encrypt: (plaintext: string) => Promise<AESEncryptedSecretStoragePayload>;
}

Properties

Properties

decrypt: (ciphertext: AESEncryptedSecretStoragePayload) => Promise<string>
encrypt: (plaintext: string) => Promise<AESEncryptedSecretStoragePayload>