implement DLL functions

* md5, sha1, hex, base64 functions