first
This commit is contained in:
37
node_modules/crypto-es/lib/sha1.d.ts
generated
vendored
Normal file
37
node_modules/crypto-es/lib/sha1.d.ts
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
/**
|
||||
* SHA1 hash algorithm.
|
||||
*/
|
||||
export class SHA1Algo extends Hasher {}
|
||||
/**
|
||||
* Shortcut function to the hasher's object interface.
|
||||
*
|
||||
* @param {WordArray|string} message The message to hash.
|
||||
*
|
||||
* @return {WordArray} The hash.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @example
|
||||
*
|
||||
* var hash = CryptoJS.SHA1('message');
|
||||
* var hash = CryptoJS.SHA1(wordArray);
|
||||
*/
|
||||
export const SHA1: HashFn;
|
||||
/**
|
||||
* Shortcut function to the HMAC's object interface.
|
||||
*
|
||||
* @param {WordArray|string} message The message to hash.
|
||||
* @param {WordArray|string} key The secret key.
|
||||
*
|
||||
* @return {WordArray} The HMAC.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @example
|
||||
*
|
||||
* var hmac = CryptoJS.HmacSHA1(message, key);
|
||||
*/
|
||||
export const HmacSHA1: HMACHashFn;
|
||||
import { Hasher } from './core.js';
|
||||
import { HashFn } from './core.js';
|
||||
import { HMACHashFn } from './core.js';
|
||||
Reference in New Issue
Block a user