Documentation ¶
Index ¶
Constants ¶
View Source
const HardcodedSalt = "someHardcodedPlaintextSalt"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AESCryptoCipher ¶
type AESCryptoCipher struct {
// contains filtered or unexported fields
}
func NewAESCryptoCipher ¶
func NewAESCryptoCipher(key []byte) *AESCryptoCipher
type PBKDF2KeyGen ¶
type PBKDF2KeyGen struct {
// contains filtered or unexported fields
}
func NewPBKDF2KeyGen ¶
func NewPBKDF2KeyGen(desiredSalt []byte) *PBKDF2KeyGen
func (*PBKDF2KeyGen) DeriveKey ¶
func (k *PBKDF2KeyGen) DeriveKey(password string) []byte
Click to show internal directories.
Click to hide internal directories.