Replaced Digest#md5 function with SecureRandome#hex