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.

9 lines
511 B

/// <reference types="node" />
import { HexBase64Latin1Encoding } from 'crypto';
export declare function formateDate(timestamp: number): string;
export declare function second(): number;
export declare function stringify(v: any): string;
export declare function sha256hash(string: string, encoding?: HexBase64Latin1Encoding): string;
export declare function sha256hmac(string: string, secret?: string | Buffer, encoding?: HexBase64Latin1Encoding): string | Buffer;
export declare function isNodeEnv(): boolean;