@bitpatty/imgproxy-url-builder
Version:
A TypeScript helper library for building imgproxy URLs
11 lines (10 loc) • 385 B
TypeScript
/**
* Creates the HMAC of the specified message.
* Combines the key and message using inner and outer padding and returns the final HMAC as a Uint32Array.
*
* @param key The key (Uint8Array)
* @param message The message (Uint8Array)
* @returns The HMAC as a Uint32Array
*/
declare const hmac: (key: Uint8Array, message: Uint8Array) => Uint32Array;
export { hmac };