A ternary hash function for IOTA, the cryptocurrency for the Internet of Things economy @ iotatoken.com
Copyright 2016 Wolf
Create a CurlCtx
variable, pass by reference to CurlInit().
Call Curl() to absorb data, and CurlSqueeze() to output.
To reset, call CurlInit() again.
Automatically runs tests.