Function hdk::ed25519::sign_ephemeral_raw[][src]

pub fn sign_ephemeral_raw(
    datas: Vec<Vec<u8>>
) -> ExternResult<EphemeralSignatures>
Expand description

Sign N data using an ephemeral private key.

This is a complement to sign_raw in case we don’t have a meaningful key for the input. The generated private half of the key is discarded immediately upon signing.

The signatures output are pairwise ordered the same as the input data. It is up to the caller to construct meaning for ephemeral signatures in some cryptographic system.