bcrypt and null kdf done, work on ciphers next (then keytypes)
This commit is contained in:
11
kdf/bcrypt/consts.go
Normal file
11
kdf/bcrypt/consts.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package bcrypt
|
||||
|
||||
const (
|
||||
Name string = "bcrypt"
|
||||
// DefaultRounds is the default per OpenSSH, not per the bcrypt_pbkdf spec itself. It is recommended to use e.g. 100 rounds.
|
||||
DefaultRounds uint32 = 16
|
||||
// DefaultSaltLen is the default per OpenSSH, not per the bcrypt_pbkdf spec itself.
|
||||
DefaultSaltLen int = 16
|
||||
// DefaultKeyLen is suitable for AES256-CTR but may not be for others. TODO: revisit this and find something more flexible?
|
||||
DefaultKeyLen uint32 = 48
|
||||
)
|
||||
Reference in New Issue
Block a user