pub fn x_salsa20_poly1305_shared_secret_create_random(
    key_ref: Option<XSalsa20Poly1305KeyRef>
) -> ExternResult<XSalsa20Poly1305KeyRef>
Expand description

Generate a new secure random shared secret suitable for encrypting and decrypting using x_salsa20_poly1305_{en,de}crypt. If key_ref is None an opaque reference will be auto-generated. If key_ref is Some and that key already exists in the store, this function will return an error. If Ok, this function will return the KeyRef by which the shared secret may be accessed.