Function sodiumoxide::crypto::box_::curve25519xsalsa20poly1305::precompute [] [src]

pub fn precompute(PublicKey: &PublicKey,
                  SecretKey: &SecretKey)
                  -> PrecomputedKey

precompute() computes an intermediate key that can be used by seal_precomputed() and open_precomputed()