Socket
Book a DemoInstallSign in
Socket

fb-tiger-hash

Package Overview
Dependencies
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fb-tiger-hash

Native JS implementation of the Tiger hash. Optionally supports flipped byte ordering found in PHP-5.3

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
410
-48.56%
Maintainers
5
Weekly downloads
 
Created
Source

fb-tiger-hash

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.

See its use in HHVM

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.

NOTE: This implementation is not optimized for reading large blocks of data or streams. It both expects a simple string AND loads the entire input into memory in a Buffer.

More on the Tiger algorithm:

Keywords

crypto

FAQs

Package last updated on 13 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts