diff --git a/shamir/shamir.go b/shamir/shamir.go index dc1545a..2eb4652 100644 --- a/shamir/shamir.go +++ b/shamir/shamir.go @@ -157,6 +157,7 @@ func Split(secret []byte, parts, threshold int) ([][]byte, error) { } // Generate random list of x coordinates + //nolint rnd := mathrand.New(&cryptoSource{}) xCoordinates := rnd.Perm(255)