Function
Static Public Summary | ||
public |
md5(bytes: *, n: *, digest: *): * MD5 |
|
public |
md5fast(bytes: *, n: *, digest: *): * MD5 inlined implementation |
|
public |
sha1(bytes: *, n: *, digest: *): * SHA1 |
|
public |
sha224(bytes: *, n: *, digest: *): * SHA-224 |
|
public |
sha256(bytes: *, n: *, digest: *): * SHA-256 |
|
public |
sha384(bytes: *, n: *, digest: *): * SHA-384 |
|
public |
sha512(bytes: *, n: *, digest: *): * SHA-512 |
|
public |
sha512_call(h: *, data: *, o: *) |
|
public |
sha512_cycle(state: *, w: *) |
|
public |
sha512_finalize(bytes: *, n: *, digest: *, y: *, o: *, right: *, h: *): * |
|
public |
|
Static Public
public md5(bytes: *, n: *, digest: *): * source
import {md5} from '@aureooms/js-hash/src/md5.js'
MD5
Params:
Name | Type | Attribute | Description |
bytes | * | ||
n | * | ||
digest | * |
Return:
* |
public md5fast(bytes: *, n: *, digest: *): * source
import {md5fast} from '@aureooms/js-hash/src/md5fast.js'
MD5 inlined implementation
Params:
Name | Type | Attribute | Description |
bytes | * | ||
n | * | ||
digest | * |
Return:
* |
public sha1(bytes: *, n: *, digest: *): * source
import {sha1} from '@aureooms/js-hash/src/sha1.js'
SHA1
Params:
Name | Type | Attribute | Description |
bytes | * | ||
n | * | ||
digest | * |
Return:
* |
public sha224(bytes: *, n: *, digest: *): * source
import {sha224} from '@aureooms/js-hash/src/sha224.js'
SHA-224
SHA-224 is identical to SHA-256, except that:
- the initial variable values h0 through h7 are different, and
- the output is constructed by omitting h7.
Params:
Name | Type | Attribute | Description |
bytes | * | ||
n | * | ||
digest | * |
Return:
* |
public sha256(bytes: *, n: *, digest: *): * source
import {sha256} from '@aureooms/js-hash/src/sha256.js'
SHA-256
Params:
Name | Type | Attribute | Description |
bytes | * | ||
n | * | ||
digest | * |
Return:
* |
public sha384(bytes: *, n: *, digest: *): * source
import {sha384} from '@aureooms/js-hash/src/sha384.js'
SHA-384
Params:
Name | Type | Attribute | Description |
bytes | * | ||
n | * | ||
digest | * |
Return:
* |
public sha512(bytes: *, n: *, digest: *): * source
import {sha512} from '@aureooms/js-hash/src/sha512.js'
SHA-512
Params:
Name | Type | Attribute | Description |
bytes | * | ||
n | * | ||
digest | * |
Return:
* |
public sha512_call(h: *, data: *, o: *) source
import {sha512_call} from '@aureooms/js-hash/src/sha512.js'
Params:
Name | Type | Attribute | Description |
h | * | ||
data | * | ||
o | * |
public sha512_cycle(state: *, w: *) source
import {sha512_cycle} from '@aureooms/js-hash/src/sha512.js'
Params:
Name | Type | Attribute | Description |
state | * | ||
w | * |
public sha512_finalize(bytes: *, n: *, digest: *, y: *, o: *, right: *, h: *): * source
import {sha512_finalize} from '@aureooms/js-hash/src/sha512.js'
Params:
Name | Type | Attribute | Description |
bytes | * | ||
n | * | ||
digest | * | ||
y | * | ||
o | * | ||
right | * | ||
h | * |
Return:
* |
public sha512_initial_state(): undefined[] source
import {sha512_initial_state} from '@aureooms/js-hash/src/sha512.js'