Searched refs:str2binb (Results 1 – 2 of 2) 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));}110 var bkey = str2binb(key);120 var hash = core_sha1(ipad.concat(str2binb(data)), 512 + data.length * chrsz);147 function str2binb(str) function