keccak

npm error “Keccak bindings compilation fail.” while installing truffle

拜拜、爱过 提交于 2020-01-04 02:57:06
问题 I tried to install Truffle, but then I got this error: $ npm install -g truffle C:\Users\dany.vandermeij\AppData\Roaming\npm\truffle -> C:\Users\dany.vandermeij\AppData\Roaming\npm\node_modules\truffle\build\cli.bundled.js > keccak@1.4.0 install C:\Users\dany.vandermeij\AppData\Roaming\npm\node_modules\truffle\node_modules\keccak > npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used." > keccak@1.4.0 rebuild C:\Users\dany.vandermeij\AppData\Roaming

Simple implementation of SHA-3 Keccak hashing to the wrong output in C#?

寵の児 提交于 2019-12-01 11:29:12
问题 I'll keep it short and simple! I'm learning C#, and I am trying to get the HashLib library @ https://hashlib.codeplex.com/ working for the new SHA-3 Keccak algorithm. I've written a simple Console/Win32 application that supposedly has to output the correct hash code, but it doesn't! using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Diagnostics; using HashLib; using System.Threading.Tasks; namespace ConsoleApplication5 { class