Skip to content

Implementation of the FNV1 hash function for POSIX shell scripts

Notifications You must be signed in to change notification settings

ko1nksm-shlab/sh-fnv1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sh-fnv1

Implementation of the FNV1 hash function for POSIX shell scripts

Note: These were written for the purpose of calculating hash values for multiple small strings, not files.

Usage

echo "Hello World" | fnv1
# => 12a9a437

fnv1_str $'Hello World\n' $'Hello World\n'

echo "Hello World" | fnv1a
# => d8ea85d7

fnv1a_str $'Hello World\n' $'Hello World\n'

About

Implementation of the FNV1 hash function for POSIX shell scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published