hashPassword: Hash a password

View source: R/RcppExports.R

hashPasswordR Documentation

Hash a password

Description

Hash a password

Usage

hashPassword(passwd, maxmem = 0.1, maxtime = 1)

Arguments

passwd

password to hash

maxmem

max memory percent (default 0.1)

maxtime

max cpu time (default 1.0)

Value

base64 encoded hash

See Also

verifyPassword

Examples

# Hash password using default parameters
hashPassword('passw0rd')

# Hash password with custom parameters
hashPassword('passw0rd', maxmem=0.25, maxtime=1.0)

scrypt documentation built on Feb. 16, 2023, 6:17 p.m.