benjaminjohnston.com.au |
||
![]() Random Photo: Pantheon (Seriously, it sneaks up on you) |
JavaScript is an interesting language. There's something about it that makes me think that I would otherwise hate the language, but there's so many nifty things you can do with it that it is very fun to use. The purpose of this page is currently to make my JavaScript SHA256 / SHA-256 implementation freely available. SHA-256 is a standard cryptographic hash algorithm. If you don't like my implementation, there is another called jsSHA2 by Angel Marin (BSD License), that was subsequently 'trimmed' by Paul Johnston for webtoolkit.sha256.js (so is presumably also under the BSD License). Also worth checking out is Christoph Bichlmeier's implementation, SHA256 - MessageDigest (BSD License). I reimplemented the algorithm from scratch in JavaScript, working from the standards, because I wanted a public domain version for a project that I'm working on. I am the sole author and I hereby release the code into the public domain. Do what you want with it. Just test it for yourself and don't blame me if something goes wrong. If you're doing something interesting with it, it would be great to let me know - but, really, you're free to do whatever you want. FeedbackIf you have any questions or suggestions, please do not hesitate to contact me.
I can be reached by email or by a web-based email/SMS form. To return to the homepage, click here. |