Digest
Static Method Summary
Static Public Methods | ||
public static |
hash(arg_string: string, arg_digest_method: string | undefined, arg_encoding_method: string | undefined): string Hash a string. |
|
public static |
Hash a string with MD5. |
|
public static |
Hash a string with SHA1. |
|
public static |
Hash a string with SHA256. |
|
public static |
Hash a string with SHA384. |
|
public static |
Hash a string with SHA512. |
Constructor Summary
Public Constructor | ||
public |
constructor(): nothing Create a Digest instance. |
Static Public Methods
public static hash(arg_string: string, arg_digest_method: string | undefined, arg_encoding_method: string | undefined): string source
Hash a string.
public static md5(arg_string: string, arg_encoding_method: string | undefined): string source
Hash a string with MD5.
public static sha1(arg_string: string, arg_encoding_method: string | undefined): string source
Hash a string with SHA1.
public static sha256(arg_string: string, arg_encoding_method: string | undefined): string source
Hash a string with SHA256.
public static sha384(arg_string: string, arg_encoding_method: string | undefined): string source
Hash a string with SHA384.
Public Constructors
public constructor(): nothing source
Create a Digest instance.
API:
->hash():string -
Return:
nothing |