Searched refs:core_sha1 (Results 1 – 1 of 1) sorted by relevance
22 function hex_sha1(s){return binb2hex(core_sha1(str2binb(s),s.length * chrsz));}23 function b64_sha1(s){return binb2b64(core_sha1(str2binb(s),s.length * chrsz));}24 function str_sha1(s){return binb2str(core_sha1(str2binb(s),s.length * chrsz));}40 function core_sha1(x, len) function111 if(bkey.length > 16) bkey = core_sha1(bkey, key.length * chrsz);120 var hash = core_sha1(ipad.concat(str2binb(data)), 512 + data.length * chrsz);121 return core_sha1(opad.concat(hash), 512 + 160);