@theroyalwhee0/ident
Version:
Unique Identifier Generator
27 lines (26 loc) • 589 B
TypeScript
/**
* @file A Unique Identifier Generator for Node
* @author Adam Mill <hismajesty@theroyalwhee.com>
* @copyright Copyright 2021-2022 Adam Mill
* @license Apache-2.0
*/
/**
* General.
* @private
*/
export declare const HMAC_ALGO = "sha256";
/**
* Size constants.
* @private
*/
export declare const ID_SIZE = 8;
export declare const RND_SIZE = 8;
export declare const VERIFY_SIZE = 2;
export declare const SIGN_SIZE = 4;
export declare const ALL_SIZE: number;
/**
* Validation regexp.
* @private
*/
export declare const re_strict: RegExp;
export declare const re_lax: RegExp;