Browse Source

Fix typo in comment

Dmitry Chestnykh 8 years ago
parent
commit
7404d0ed7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      siprng.go

+ 1 - 1
siprng.go

@@ -189,7 +189,7 @@ func siphash(k0, k1, m uint64) uint64 {
 	return v0 ^ v1 ^ v2 ^ v3
 }
 
-// SetSeed sets a new secret seed for PRNG.
+// Seed sets a new secret seed for PRNG.
 func (p *siprng) Seed(k [16]byte) {
 	p.k0 = binary.LittleEndian.Uint64(k[0:8])
 	p.k1 = binary.LittleEndian.Uint64(k[8:16])