added utf8 support

-added "enc" option to md5.hash function