Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/browserify/crypto-browserify
/ rol
Function
rol
example/bundle.js:544–546 ·
view source on GitHub ↗
(num, cnt)
Source
from the content-addressed store, hash-verified
542
* Bitwise rotate a 32-bit number to the left.
543
*/
544
function
rol(num, cnt) {
545
return
(num << cnt) | (num >>> (32 - cnt));
546
}
547
548
/*
549
* Convert an 8-bit or 16-bit string to an array of big-endian words
Callers
1
core_sha1
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected