How to use the sha3 function from bindings
Find comprehensive JavaScript bindings.sha3 code examples handpicked from public code repositorys.
GitHub: kyokan/hs-miner
86 87 88 89 90 91 92 93 94 95
return hash.toString('hex'); return hash; }; miner.sha3 = function sha3(data, enc) { const hash = binding.sha3(data); if (enc === 'hex') return hash.toString('hex'); return hash; };
19
0
3
bindings.createKey is the most popular function in bindings (8616 examples)