added md5 implementation for open key generation