generic-ec 0.5.0

General elliptic curve cryptography
Documentation
1
2
3
4
5
Constructs a new secret scalar

It takes original scalar by mutable reference instead of taking by value to avoid leaving
copies of scalar on stack. Scalar behind the reference will be zeroized after function
returned.