Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Argon2id is the Argon2id key derivation function
Argon2id = newArgon2di(1, 16, 4)
)
View Source
var ( // ErrSRPBadStatus is returned when the wrong SRP-6a protocol function is called for the current status ErrSRPBadStatus = fmt.Errorf("SRP-6a protocol invalid status") )
View Source
var Seed = NewSeeder()
Seed is the global function to generate cryptographically strong random bytes
Functions ¶
This section is empty.
Types ¶
type SRP ¶
type SRP interface { Bits(bits int) SRP Seed(seed Seeder) SRP GetBits() int ClientInitC(user, pass string, data []byte) ([]byte, error) }
SRP is the interface to handle the SRP-6a protocol
Click to show internal directories.
Click to hide internal directories.