UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

10 lines 418 B
export type HmacAlgorithm = 'sha256' | 'sha512' | 'sha1' | 'md5'; export type HmacEncoding = 'hex' | 'base64' | 'base64url'; export interface GenerateHmacOptions { message: string; secretKey: string; algorithm?: HmacAlgorithm; encoding?: HmacEncoding; } export declare const generateHmac: ({ message, secretKey, algorithm, encoding, }: GenerateHmacOptions) => string; //# sourceMappingURL=hmac.d.ts.map