Documentation ¶
Overview ¶
Package pbkdf2 implements a modular crypt format for PBKDF2-SHA1, PBKDF2-SHA256 and PBKDF-SHA512.
The format is the same as that used by Python's passlib and is compatible.
Index ¶
Constants ¶
View Source
const ( RecommendedRoundsSHA1 = 131000 RecommendedRoundsSHA256 = 29000 RecommendedRoundsSHA512 = 25000 )
View Source
const SaltLength = 16
Variables ¶
View Source
var SHA1Crypter abstract.Scheme
An implementation of Scheme implementing a number of PBKDF2 modular crypt formats used by Python's passlib ($pbkdf2$, $pbkdf2-sha256$, $pbkdf2-sha512$).
Uses RecommendedRounds.
WARNING: SHA1 should not be used for new applications under any circumstances. It should be used for legacy compatibility only.
View Source
var SHA256Crypter abstract.Scheme
View Source
var SHA512Crypter abstract.Scheme
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.