/opt/canhelp/node_modules/@better-auth/utils/dist
Edit: /opt/canhelp/node_modules/@better-auth/utils/dist/hmac.d.ts (623B)
import { E as EncodingFormat, S as SHAFamily, T as TypedArray } from './shared/utils.ecd028f7.js';
declare const createHMAC:
(algorithm?: SHAFamily, encoding?: E) => {
importKey: (key: string | ArrayBuffer | TypedArray, keyUsage: "sign" | "verify") => Promise;
sign: (hmacKey: string | CryptoKey, data: string | ArrayBuffer | TypedArray) => Promise;
verify: (hmacKey: CryptoKey | string, data: string | ArrayBuffer | TypedArray, signature: string | ArrayBuffer | TypedArray) => Promise;
};
export { createHMAC };