You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
335 B
14 lines
335 B
|
2 months ago
|
declare const FNV_PRIMES: {
|
||
|
|
readonly 32: bigint;
|
||
|
|
readonly 64: bigint;
|
||
|
|
readonly 128: bigint;
|
||
|
|
readonly 256: bigint;
|
||
|
|
readonly 512: bigint;
|
||
|
|
readonly 1024: bigint;
|
||
|
|
};
|
||
|
|
export default function fnv1a(inputString: string, { size, seed, }?: {
|
||
|
|
size?: keyof typeof FNV_PRIMES;
|
||
|
|
seed?: number;
|
||
|
|
}): bigint;
|
||
|
|
export {};
|