Generates a random using given `rng`.
(rng: &mut R)
| 112 | |
| 113 | /// Generates a random using given `rng`. |
| 114 | pub fn rand<T: UniformRand, R: RngCore>(rng: &mut R) -> T { |
| 115 | UniformRand::rand(rng) |
| 116 | } |
| 117 | |
| 118 | /// Produces points by multiplying supplied base by the provided scalars. |
| 119 | pub fn points<G: AffineRepr>(base: &G, scalars: &[G::ScalarField]) -> Vec<G> { |
no outgoing calls