docs
This commit is contained in:
parent
c0af79d3b3
commit
5ee78f5e01
2
nsec3.go
2
nsec3.go
|
@ -11,7 +11,7 @@ type saltWireFmt struct {
|
||||||
Salt string "size-hex"
|
Salt string "size-hex"
|
||||||
}
|
}
|
||||||
|
|
||||||
// HashName hashes a string or label according to RFC5155. It returns the hashed string.
|
// HashName hashes a string (label) according to RFC5155. It returns the hashed string.
|
||||||
func HashName(label string, ha, iter int, salt string) string {
|
func HashName(label string, ha, iter int, salt string) string {
|
||||||
saltwire := new(saltWireFmt)
|
saltwire := new(saltWireFmt)
|
||||||
saltwire.Salt = salt
|
saltwire.Salt = salt
|
||||||
|
|
Loading…
Reference in New Issue