UNPKG

dome-embedded-app-sdk

Version:

Build Dome cards and document viewers with a single SDK. Cards let you extend a dome with custom functionality, while viewers let you render and edit documents inside Dome.

16 lines (15 loc) 455 B
export declare class CryptoA01 { private subtleCrypto; constructor(); /** * Perform decryption using AES based V1 algorithm. * * string: the encrypted string (base64 encoded) * password: the password used for encryption * salt: the base64 encoded salt used */ decrypt(token: string, password: string, salt: string): Promise<string>; private deriveKey; private splitKey; private base64UrlDecode; }