Made curve generator private

This commit is contained in:
Jedrzej Stuczynski
2020-01-10 14:12:29 +00:00
parent 402b226080
commit e4501852d5
+1 -1
View File
@@ -7,7 +7,7 @@ use curve25519_dalek::scalar::Scalar;
// TODO: ensure this is a proper name for this considering we are not implementing entire DH here
pub const CURVE_GENERATOR: MontgomeryPoint = curve25519_dalek::constants::X25519_BASEPOINT;
const CURVE_GENERATOR: MontgomeryPoint = curve25519_dalek::constants::X25519_BASEPOINT;
pub struct KeyPair {
pub(crate) private_key: PrivateKey,