github.com/sagernet/sing-shadowsocks2@v0.2.0/internal/shadowio/common.go (about) 1 package shadowio 2 3 func increaseNonce(nonce []byte) { 4 for i := range nonce { 5 nonce[i]++ 6 if nonce[i] != 0 { 7 return 8 } 9 } 10 }