Skip to content
/ fnv1a Public

FNV-1a hash implementation in x86-64 assembly conforming to the System-V x86-64 ABI

Notifications You must be signed in to change notification settings

ronshabi/fnv1a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FNV-1a hash implementation in x86-64 assembly

Currently implements the 32 & 64 bit versions of the hash.

About the FNV hash function

Test vectors

Source: IETF draft-eastlake-fnv-19.txt

run ./fnv1a to test:

[PASSED] Test fnv1a32("") => 811c9dc5
[PASSED] Test fnv1a32("a") => e40c292c
[PASSED] Test fnv1a32("foobar") => bf9cf968
[PASSED] Test fnv1a64("") => cbf29ce484222325
[PASSED] Test fnv1a64("a") => af63dc4c8601ec8c
[PASSED] Test fnv1a64("foobar") => 85944171f73967e8

Author

Ron Shabi

About

FNV-1a hash implementation in x86-64 assembly conforming to the System-V x86-64 ABI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published