add typings
parent
ee3b3869bc
commit
e06a6975ca
@ -0,0 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Returns the SHA-256 hash of `message` as an hexadecimal string.
|
||||||
|
* @param message The message to hash
|
||||||
|
*/
|
||||||
|
export function sha256(message: string | ArrayLike<number> | Uint8Array | ArrayBuffer): string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the SHA-224 hash of `message` as an hexadecimal string.
|
||||||
|
* @param message The message to hash
|
||||||
|
*/
|
||||||
|
export function sha224(message: string | ArrayLike<number> | Uint8Array | ArrayBuffer): string;
|
Loading…
Reference in New Issue