Functions
decode
- decode(base64Text: string): string
-
Parameters
Returns string
decrypt
- decrypt(text: any, iv: any, passphrase: string): string
-
Parameters
-
text: any
-
iv: any
-
passphrase: string
Returns string
encode
- encode(text: string): string
-
Parameters
Returns string
encrypt
- encrypt(text: string, passphrase: string): { encrypted: string; iv: string }
-
Parameters
-
text: string
-
passphrase: string
Returns { encrypted: string; iv: string }
-
encrypted: string
-
iv: string