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