EncryptDecrypt
Static Method Summary
Static Public Methods | ||
public static |
Transform to a string without encryption. |
|
public static |
Transform to a string with encryption. |
|
public static |
key(arg_app_secret: string, arg_num_iterations: number, arg_key_length: number, arg_iv_length: number): string Generate an encryption key from a secret. |
Constructor Summary
Public Constructor | ||
public |
constructor(): nothing Create a EncryptDecrypt instance. |
Static Public Methods
public static decrypt(arg_string: string, arg_key: string, arg_mode: string, arg_iv_length: number): string source
Transform to a string without encryption.
public static encrypt(arg_string: string, arg_key: string, arg_mode: string, arg_iv_length: number): string source
Transform to a string with encryption.
Public Constructors
public constructor(): nothing source
Create a EncryptDecrypt instance.
API:
->hash():string -
Return:
nothing |