(s)
| 433 | * They take string arguments and return either hex or base-64 encoded strings |
| 434 | */ |
| 435 | function hex_sha1(s) { return binb2hex(core_sha1(str2binb(s), s.length * chrsz)); } |
| 436 | function b64_sha1(s) { return binb2b64(core_sha1(str2binb(s), s.length * chrsz)); } |
| 437 | function str_sha1(s) { return binb2str(core_sha1(str2binb(s), s.length * chrsz)); } |
| 438 | function hex_hmac_sha1(key, data) { return binb2hex(core_hmac_sha1(key, data)); } |
no test coverage detected
searching dependent graphs…