Documentation ¶
Index ¶
Constants ¶
View Source
const ( KDF_PBKDF2 KDFType = "pbkdf2" PBKDF2_DEFAULT_ITERATION = 20480 PBKDF2_DEFAULT_SALT_BYTE_SIZE = 16 PBKDF2_DEFAULT_KEY_BYTE_SIZE = 64 )
Variables ¶
View Source
var (
ErrUnknownKDF = errors.New("unknown KDF")
)
Functions ¶
func HashPassword ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.