comment
This commit is contained in:
parent
05cfaca9f0
commit
09c28d4a95
3
nsecx.go
3
nsecx.go
|
@ -15,7 +15,8 @@ type saltWireFmt struct {
|
|||
Salt string `dns:"size-hex"`
|
||||
}
|
||||
|
||||
// HashName hashes a string (label) according to RFC 5155. It returns the hashed string.
|
||||
// HashName hashes a string (label) according to RFC 5155. It returns the hashed string in
|
||||
// uppercase.
|
||||
func HashName(label string, ha uint8, iter uint16, salt string) string {
|
||||
saltwire := new(saltWireFmt)
|
||||
saltwire.Salt = salt
|
||||
|
|
Loading…
Reference in New Issue