How can I hash a string with SHA256?
Hellow there 😀 it’s quite a function. If you are a scholar, you would like to check this article: https://www.movable-type.co.uk/scripts/sha256.html Pure javascript: var sha256 = function sha256(ascii) { function rightRotate(value, amount) { return (value>>>amount) | (value<<(32 – amount)); }; var mathPow = Math.pow; var maxWord = mathPow(2, 32); var lengthProperty = ‘length’ var i, j; … Read more