Obsah
Odkazy:
require 'digest/sha1' require 'base64' '{SHA}' + Base64.encode64(Digest::SHA1.digest(password))
Crypt
$
openssl passwd -crypt myPassword$
openssl passwd -crypt -salt rq myPassword$
htpasswd -nbd myName myPassword
MD5
$
openssl passwd -apr1 -salet r31..... myPassword$
openssl passwd -apr1 myPassword$
htpasswd -nbm myName myPassword
SHA1
$
htpasswd -nbs myName myPassword
To be done.