You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble ( #31 ) building this module :'(
Could someone run this little script (untested) and send me the answer
varmh=require('multi-hashing');varhashs=["quark","x11","scrypt","scryptn","scryptjane","keccak","bcrypt","skein","groestl","groestlmyriad","blake","fugue","qubit","hefty1","shavite3","cryptonight","x13","boolberry","nist5","sha1","x15","fresh"];varhashsLength=hashs.length;varinput=newBuffer("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam eget ligula eu lectus lobortis condimentum. Aliquam nonummy auctor massa. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla at risus. Quisque purus magna, auctor et, sagittis ac, posuere eu, lectus. Nam mattis, felis ut adipiscing.");for(vari=0;i<hashsLength;i++){varhash=hashs[i];if(hash=="scrypt"){console.log(hash+": "+(mh[hash](input,1,1)).toString());}elseif(hash=="scryptn"){console.log(hash+": "+(mh[hash](input,1)).toString());}elseif(hash=="scryptjane"){console.log(hash+": "+(mh[hash](input,1,1,1,1)).toString());}elseif(hash=="boolberry"){console.log(hash+": "+(mh[hash](input,input,1)).toString());}elseif(hash=="cryptonight"){console.log(hash+": "+(mh[hash](input,false)).toString());console.log(hash+" (fast): "+(mh[hash](input,true)).toString());}else{console.log(hash+": "+(mh[hash](input)).toString());}}
thanks in advance !
The text was updated successfully, but these errors were encountered:
I'm having trouble ( #31 ) building this module :'(
Could someone run this little script (untested) and send me the answer
thanks in advance !
The text was updated successfully, but these errors were encountered: