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