[][src]Function ece::decrypt

pub fn decrypt(
    components: &EcKeyComponents,
    auth: &[u8],
    data: &[u8]
) -> Result<Vec<u8>>

Decrypt a block using default AES128GCM encoding.

param components &str - The locally generated private key components. param auth &str - The locally generated auth token (this value was shared with the encryptor) param data &u8 - The encrypted data block