I'm trying to use the encodeHMACSHA256 method, but having some issues.
Byte bytes = encodeHMACSHA256("key", "The quick brown fox jumps over the lazy dog");
String c = String(bytes);
//printLine(c); //Error, script never finishes...
The key and value in the example above should give the value "f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8" (according to both Wikipedia and an Online-encoder I found).
Thus the code above should also print that value on the last line. However, when I try to print the encoded string the script never completes. It just displays the spinner forever.
Is there a bug here?