require 'md5' puts MD5.hexdigest('')
require 'digest/sha1' puts Digest::SHA1.hexdigest('')
require 'base64' code = Base64.encode64('hallo') source = Base64.decode64(code)
src = 'abc编码asdf' code = URI.encode src src = URI.decode code puts code puts src