* Calculate the MD5 of a raw string
(s)
| 516 | */ |
| 517 | |
| 518 | function rstr(s) { |
| 519 | s = (utf8) ? utf8Encode(s) : s; |
| 520 | return binl2rstr(binl(rstr2binl(s), s.length * 8)); |
| 521 | } |
| 522 | |
| 523 | /** |
| 524 | * Calculate the HMAC-MD5, of a key and some data (raw strings) |