Ruby Image Requests

← Back

# include MD5 gem, should be part of standard ruby install
require 'digest/md5'

# get the email from URL-parameters or what have you and make lowercase
email_address = params[:email].downcase

# create the md5 hash
hash = Digest::MD5.hexdigest(email_address)

# compile URL which can be used in <img src="RIGHT_HERE"...
image_src = "{hash}"

Ruby Gem


赖子棋牌 小米彩票平台 北京pk10 天津十一选五前三走势 幸运时时彩官网 小米彩票开奖记录数据分析 500万彩票 幸运时时彩 河北快3 500彩票网