bpms_site/.svn/pristine/57/57feb07a692e3b30396c6b34ca0253d518f16af2.svn-base
2025-11-02 16:38:49 +03:30

12 lines
453 B
Plaintext

/**
* FNV-1a Hash implementation
* @author Travis Webb (tjwebb) <me@traviswebb.com>
*
* Ported from https://github.com/tjwebb/fnv-plus/blob/master/index.js
*
* Simplified, optimized and add modified for 52 bit, which provides a larger hash space
* and still making use of Javascript's 53-bit integer space.
*/
export declare const fnv1a52: (str: string) => number;
export declare const generateETag: (payload: string, weak?: boolean) => string;