Skip to main content

public_key

Function public_key 

Source
pub fn public_key(
    suite: SecuritySuite,
    private_key: &[u8],
) -> Result<Vec<u8>, AgreementError>
Expand description

Derives the ephemeral public key (FE2OS(x) ‖ FE2OS(y)) from an ephemeral private key on the suite’s curve, for embedding as key-ciphered-data.