pub fn decrypt(input: &[u8], nonce: &[u8], key: &[u8]) -> Vec<u8> ⓘExpand description
Decrypt an input with a given nonce and key using Aes256Gcm.
Note that manually calling this function should not be necessary, as the sc macro already
does this behind the scenes.
§Panics
This function will panic if the decryption fails. This could happen e.g. due to file corruption of the resulting binary.