[−][src]Function dsf_core::crypto::sk_decrypt2
pub fn sk_decrypt2<T>(secret_key: &SecretKey, buff: T) -> Result<usize, ()> where
T: AsRef<[u8]> + AsMut<[u8]>,
sk_decrypt2 decrypts the data in-place in the provided buffer, this will strip NONCE and TAG information, and returns the data length (decrypted data w/out overheads)