You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.3 KiB
26 lines
1.3 KiB
/** |
|
* SHA2-512 a.k.a. sha512 and sha384. It is slower than sha256 in js because u64 operations are slow. |
|
* |
|
* Check out [RFC 4634](https://datatracker.ietf.org/doc/html/rfc4634) and |
|
* [the paper on truncated SHA512/256](https://eprint.iacr.org/2010/548.pdf). |
|
* @module |
|
* @deprecated |
|
*/ |
|
import { SHA384 as SHA384n, sha384 as sha384n, sha512_224 as sha512_224n, SHA512_224 as SHA512_224n, sha512_256 as sha512_256n, SHA512_256 as SHA512_256n, SHA512 as SHA512n, sha512 as sha512n, } from "./sha2.js"; |
|
/** @deprecated Use import from `noble/hashes/sha2` module */ |
|
export const SHA512 = SHA512n; |
|
/** @deprecated Use import from `noble/hashes/sha2` module */ |
|
export const sha512 = sha512n; |
|
/** @deprecated Use import from `noble/hashes/sha2` module */ |
|
export const SHA384 = SHA384n; |
|
/** @deprecated Use import from `noble/hashes/sha2` module */ |
|
export const sha384 = sha384n; |
|
/** @deprecated Use import from `noble/hashes/sha2` module */ |
|
export const SHA512_224 = SHA512_224n; |
|
/** @deprecated Use import from `noble/hashes/sha2` module */ |
|
export const sha512_224 = sha512_224n; |
|
/** @deprecated Use import from `noble/hashes/sha2` module */ |
|
export const SHA512_256 = SHA512_256n; |
|
/** @deprecated Use import from `noble/hashes/sha2` module */ |
|
export const sha512_256 = sha512_256n; |
|
//# sourceMappingURL=sha512.js.map
|