checking in prelim stuff
This commit is contained in:
11
kdf/consts_bcrypt_pbkdf.go
Normal file
11
kdf/consts_bcrypt_pbkdf.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package kdf
|
||||
|
||||
const (
|
||||
BcryptPbkdfName string = "bcrypt"
|
||||
// BcryptPbkdfDefaultRounds is the default per OpenSSH, not per the bcrypt_pbkdf spec itself. It is recommended to use e.g. 100 rounds.
|
||||
BcryptPbkdfDefaultRounds uint32 = 16
|
||||
// BcryptPbkdfDefaultSaltLen is the default per OpenSSH, not per the bcrypt_pbkdf spec itself.
|
||||
BcryptPbkdfDefaultSaltLen int = 16
|
||||
// BcryptPbkdfDefaultKeyLen is suitable for AES256-CTR but may not be for others. TODO: revisit this and find something more flexible.
|
||||
BcryptPbkdfDefaultKeyLen uint32 = 48
|
||||
)
|
||||
Reference in New Issue
Block a user