github.com/bytom/bytom@v1.1.2-0.20221014091027-bbcba3df6075/crypto/scrypt/smix.go (about) 1 package scrypt 2 3 // Smix create tensority cache 4 // Some value is fixed: r = 1, N = 1024. 5 func Smix(b []byte, v []uint32) { 6 xy := make([]uint32, 64) 7 smix(b, 1, 1024, v, xy) 8 }