UNPKG

@othent/kms-unbundled

Version:

Arweave Oauth Othent wallets enabled Google Key Management Service.

7 lines (6 loc) 297 B
/** * Decrypt data with the users JWK. This function assumes (and requires) a user is logged in and a valid encrypt() response. * @param ciphertext The data to decrypt. * @returns The decrypted data. */ export declare function decrypt(ciphertext: Uint8Array | string | null): Promise<string>;