Methods
Static decrypt
- decrypt(cipherText: string, secretKey: string): any
-
Parameters
-
cipherText: string
-
secretKey: string
Returns any
Static encrypt
- encrypt(data: any, secretKey: string): string
-
Parameters
-
data: any
-
secretKey: string
Returns string
Static randomString
- randomString(stringLength?: undefined | number): string
-
Parameters
-
Optional stringLength: undefined | number
Returns string