Function nettle::ed25519::public_key[][src]

pub fn public_key(public: &mut [u8], private: &[u8]) -> Result<()>

Computes the public key for a given private Ed25519 key. Fails if one of the buffer is not ED25519_KEY_SIZE bytes large.