generate functionMon, 27 Feb 2023

generate md5 hash from string

def md5(string) Digest::MD5.hexdigest(string) end md5("this is a string to md5")

Questions about programming?Chat with your personal AI assistant