pub fn generate_public(&self) -> Self {
        use curve25519_dalek::scalar::Scalar;

        use curve25519_dalek::constants::ED25519_BASEPOINT_TABLE;

        // https://github.com/dalek-cryptography/x25519-dalek/blob/1c39ff92e0dfc0b24aa02d694f26f3b9539322a5/src/x25519.rs#L150
        let point = (&ED25519_BASEPOINT_TABLE * &Scalar::from_bits(self.0)).to_montgomery();

        Self(point.to_bytes())
    }
/// Generates a public key for this private key.
Generates a public key for this private key.
Generates a public key for this private key .
pub fn generate_public(&self) -> Self {
        use curve25519_dalek::scalar::Scalar;
        use curve25519_dalek::constants::ED25519_BASEPOINT_TABLE;
        // https://github.com/dalek-cryptography/x25519-dalek/blob/1c39ff92e0dfc0b24aa02d694f26f3b9539322a5/src/x25519.rs#L150
        let point = (&ED25519_BASEPOINT_TABLE * &Scalar::from_bits(self.0)).to_montgomery();
        Self(point.to_bytes())
    }
pub fn generate_public ( & self ) -> Self { use curve25519_dalek :: scalar :: Scalar ; use curve25519_dalek :: constants :: ED25519_BASEPOINT_TABLE ; // https://github.com/dalek-cryptography/x25519-dalek/blob/1c39ff92e0dfc0b24aa02d694f26f3b9539322a5/src/x25519.rs#L150 let point = ( & ED25519_BASEPOINT_TABLE * & Scalar :: from_bits ( self . 0 ) ) . to_montgomery ( ) ; Self ( point . to_bytes ( ) ) }
Generates a public key for this private key.
Generates a public key for this private key .
&self