format(plain_password,options={})click to toggle source
# File lib/trocla/formats/pgsql.rb, line 3defformat(plain_password,options={})
raise"You need pass the username as an option to use this format"unlessoptions['username']
"md5"+Digest::MD5.hexdigest(plain_password+options['username'])
end