How to use fb-tiger-hash - 1 common examples

To help you get started, we’ve selected a few fb-tiger-hash examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github facebookincubator / fbt / packages / fb-tiger-hash / src / __tests__ / sample.ts View on Github external
 * Copyright (c) Facebook, Inc. and its affiliates.
import {Tiger, hashPhrases} from 'fb-tiger-hash'

  desc: "d",
  texts: ["a", "b", "c"]

(new Tiger(Tiger.L128, 0, true, Tiger.UTF8)).hash('foo');


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

Latest version published 1 year ago

Package Health Score

63 / 100
Full package analysis

Popular fb-tiger-hash functions

Popular JavaScript code snippets

Find secure code to use in your application or website