Implemented MD5 functions internally.