Methods
(static) hash(msg, optionsopt) → {string}
Generates SHA-256 hash of string.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
msg |
string | (Unicode) string to be hashed. | ||||||||||||||||
options |
Object |
<optional> |
Properties
|
Returns:
Hash of msg as hex character string.
- Type
- string
(private, static) ROTR()
Rotates right (circular right shift) value x by n positions [§3.2.4].
(private, static) Σ0()
Logical functions [§4.1.2].