MCPcopy
hub / github.com/reisxd/TizenTube / rightRotate

Function rightRotate

mods/tiny-sha256.js:3–5  ·  view source on GitHub ↗
(value, amount)

Source from the content-addressed store, hash-verified

1// The tiny-sha256 module, edited to export itself.
2var sha256 = function sha256(ascii) {
3 function rightRotate(value, amount) {
4 return (value >>> amount) | (value << (32 - amount));
5 };
6
7 var mathPow = Math.pow;
8 var maxWord = mathPow(2, 32);

Callers 1

sha256Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected