UNPKG

dome-embedded-app-sdk

Version:

Use this SDK to build plugins for Dome. There are two plugins supported:

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; }