@zeushq/nextjs-zidentity
Version:
Next.js SDK for signin in with Zeus Identity
12 lines • 428 B
TypeScript
/// <reference types="node" />
/**
*
* Derives appropriate sized keys from the end-user provided secret random string/passphrase using
* HKDF (HMAC-based Extract-and-Expand Key Derivation Function) defined in RFC 8569
*
* @see https://tools.ietf.org/html/rfc5869
*
*/
export declare const encryption: (secret: string) => Buffer;
export declare const signing: (secret: string) => Buffer;
//# sourceMappingURL=hkdf.d.ts.map