0.0.6 • Published 5 years ago

fb-tiger v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

fb-tiger

A Native JS implementation of Tiger hash.

Provides a cross-platform Tiger hash implementation that supports the flipped byte-order (endianness) of PHP's original Tiger implementation for backwards compatability.

It's main intended use is for the Facebook FBT internationalization framework, where a hashing algorithm is supplied to create unique identifiers from source strings and their descriptions. This implementation is not optimized for reading large blocks of data in streams, but optimized for the FBT framework's use-case.

See: https://github.com/facebook/hhvm/blob/281303d/hphp/runtime/ext/hash/ext_hash.cpp#L94-L97(use in HHVM)

More on the Tiger algorithm: https://www.cs.technion.ac.il/~biham/Reports/Tiger/tiger/node3.html https://www.cl.cam.ac.uk/~rja14/Papers/tiger.pdf https://www.cl.cam.ac.uk/~rja14/Papers/tigersb.pdf

Implementation in C: https://www.cs.technion.ac.il/~biham/Reports/Tiger/tiger/node7.html

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago