Fixed n
This commit is contained in:
parent
a008c21cf0
commit
19cff8ecca
|
@ -49,7 +49,8 @@ func init() {
|
||||||
_rand = mrand.New(mrand.NewSource(int64(seed1 ^ seed2 ^ seed3)))
|
_rand = mrand.New(mrand.NewSource(int64(seed1 ^ seed2 ^ seed3)))
|
||||||
}
|
}
|
||||||
|
|
||||||
func saltByte(buff []byte) []byte {
|
func saltByte(n int) []byte {
|
||||||
|
buff := make([]byte, n)
|
||||||
for i := 0; i < len(buff); i++ {
|
for i := 0; i < len(buff); i++ {
|
||||||
var v uint64 = uint64(_rand.Int63())
|
var v uint64 = uint64(_rand.Int63())
|
||||||
var b byte
|
var b byte
|
||||||
|
|
Loading…
Reference in New Issue