pub fn salt_encrypt_data(
data: &[u8],
authenticator: &[u8],
salt: &[u8],
secret: &[u8],
) -> Vec<u8> ⓘ
Expand description
Encrypts data with salt since RADIUS packet is sent in plain text
Should be used for RADIUS Tunnel-Password Attribute