Constructors
constructor
- new Cipher(key, groupN?): Cipher
Parameters
- key: string | Uint8Array
- groupN: number = 5
Properties
Methods
decrypt
- decrypt(data, opts?): string
Returns string
encrypt
- encrypt(data, opts?): string
Returns string
mac
- mac(text): string
Returns string
Cipher class