Function radius_rust::tools::decrypt_data
source · pub fn decrypt_data(data: &[u8], authenticator: &[u8], secret: &[u8]) -> Vec<u8>
Expand description
Decrypts data since RADIUS packet is sent in plain text
Should be used to decrypt value of User-Password attribute (but could also be used to decrypt any data)