Constructors
Properties
Static
Modes
Modes: typeof Modes = Modes Methods
Static
decryptEasy
- decryptEasy(ciphertext, key): Promise<string>
Parameters
- ciphertext: string
- key: string
Returns Promise<string>
Static
encrypt
- encrypt(data, key, mode?): Promise<string>
Returns Promise<string>
Static
encryptEasy
- encryptEasy(data, key, mode?): Promise<string>
Returns Promise<string>
Derive a key from a password. To be used if the password is not 128, 192 or 256 bits or human made, non generated keys.