hashPassword {scrypt} | R Documentation |
Hash a password
hashPassword(passwd, maxmem = 0.1, maxtime = 1)
passwd |
password to hash |
maxmem |
max memory percent (default 0.1) |
maxtime |
max cpu time (default 1.0) |
base64 encoded hash
# Hash password using default parameters
hashPassword('passw0rd')
# Hash password with custom parameters
hashPassword('passw0rd', maxmem=0.25, maxtime=1.0)