Versions in this module Expand all Collapse all v0 v0.1.0 Sep 9, 2026 Changes in this version + const DefaultRounds + const MaxRounds + const MinRounds + const SaltChars + func Bcrypt(password, prefix string, cost int, salt []byte) (string, error) + func BcryptFromMCF(password, prefix, mcfSalt string) (string, error) + func MD5Crypt(password, salt string) string + func RandomSalt(n int) (string, error) + func SHA256Crypt(password, salt string, rounds int) string + func SHA512Crypt(password, salt string, rounds int) string + func ValidSaltChars(s string) bool