(text)
| 64 | } |
| 65 | |
| 66 | function md5(text) { |
| 67 | return crypto.createHash("md5").update(String(text)).digest("hex"); |
| 68 | } |
| 69 | |
| 70 | function hmacSha256Hex(text, key) { |
| 71 | return crypto.createHmac("sha256", key).update(String(text)).digest("hex"); |
no outgoing calls
no test coverage detected