summaryrefslogtreecommitdiff
path: root/alarm/node_modules/xxhashjs/examples/one_step.js
blob: d70bf0f09fa7fed0665052f142dcb2706736a6cf (plain)
1
2
3
4
5
var XXH = require('..')

var h = XXH.h32( 'abcd', 0xABCD ).toString(16)

console.log( '0x' + h.toUpperCase() )