You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
419 B
TypeScript
12 lines
419 B
TypeScript
/**
|
|
* 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;
|