anders94 / blockchain-demo

A web-based demonstration of blockchain concepts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change to a different block hashing algorithm?

ETN-A opened this issue · comments

commented

Just emailed you only to find this here... This demo is superb and just wondering please (sadly not being savvy enough) whether it would take much to modify this to work with/appear to work with a different hashing algorithm: more specifically with CryptoNight for ed purposes?

yeah, that theoretically would be as easy as swapping out https://github.com/anders94/blockchain-demo/blob/master/public/javascripts/lib/sha256.js with an equivalent CryptoNight JavaScript implementation. Having not researched to see if such a thing exists, I don't know how much work this would actually be.

commented

Ok, thank you for the response and will carry on "digging"... And thank you once again for the superb demos!