std › crypto › ecc › P256 › randomrandomReturn a random point. Group operations over P256.Types#P256 Group operations over P256.AffineCoordinates A point in affine coordinates.SourceImplementation#pub fn random() P256 { const n = scalar.random(.little); return basePoint.mul(n, .little) catch unreachable; }
pub fn random() P256 { const n = scalar.random(.little); return basePoint.mul(n, .little) catch unreachable; }