MCPcopy Create free account
hub / github.com/angular-app/angular-app / md5blk

Function md5blk

client/src/common/directives/gravatar.js:195–202  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

193 */
194
195 function md5blk(s) { /* I figured global was faster. */
196 var md5blks = [],
197 i; /* Andy King said do it this way. */
198 for (i = 0; i < 64; i += 4) {
199 md5blks[i >> 2] = s.charCodeAt(i) + (s.charCodeAt(i + 1) << 8) + (s.charCodeAt(i + 2) << 16) + (s.charCodeAt(i + 3) << 24);
200 }
201 return md5blks;
202 }
203
204 var hex_chr = '0123456789abcdef'.split('');
205

Callers 1

md51Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected