Documentation ¶
Index ¶
Constants ¶
View Source
const (
HashID = "b2b"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Key []byte
}
func ParseConfig ¶
ParseConfig loads a blake2b key config from params string
type Hasher ¶
type Hasher struct {
// contains filtered or unexported fields
}
Hasher implements h2hash.Hasher for blake2b
func NewFromParams ¶
NewFromParams creates a blake2b hasher from params
Click to show internal directories.
Click to hide internal directories.