Commit 0d97c3ce authored by obscuren's avatar obscuren

Merge branch 'bounty' into develop

parents bb2e8473 19cff8ec
...@@ -49,7 +49,8 @@ func init() { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment