Skip to main content
The Deno 2 Release Candidate is here
Learn more

FNV

An implementation of the 32 bit FNV-1a algorithm.

Example

FNV.update("hello world").digest("hex"); // 779a65e7023cd2e7
FNV.update("hello world").value(); // 8618312879776256743n
FNV.compress(4, FNV.update("hello world").value(); // 9n