Is there a point to the latest additions to the Crypto module besides putting hex-string output directly into crypto functions?
So instead of previously writing
String.hex2string(Crypto.MD5.HMAC(a)(b));
you can now do
Crypto.hash_hmac(Crypto.MD5, 1)(a)(b);
Generally I'd say that helper/convenience functions should normally add more (relative) convenience than just this to justify inclusion. Instead of these helper functions, simply more (and verbose) examples in the manual would be better.
(I'm now using https://jskom.lysator.liu.se/ to read LysKOM; though a bidirectional mailiinglist interface would be preferred).
pike-devel@lists.lysator.liu.se