Function universal_wallet::contents::encryption::seal_box[][src]

pub fn seal_box(data: &[u8], rk: &PublicKey) -> Result<Vec<u8>, Error>

Seal Box

Creates an anoncrypted secret box construction, generic over key agreement method and asym encryptor uses the