/// Decrypt value with given key.
///
/// # Example
///
/// ```
/// use std::net::Ipv4Addr;
/// let addr = "114.62.227.59".parse::<Ipv4Addr>().unwrap();
/// println!("{}", ipcrypt::decrypt(addr, b"some 16-byte key"));
/// ```
Decrypt value with given key.
Decrypt value with given key .
pub fn decrypt<T>(v: T, key: &Key) -> T
where
	State: From<T> + Into<T>,
{
	State::from(v).decrypt(key).into()
}
pub fn decrypt < T > ( v : T , key : & Key ) -> T where State : From < T > + Into < T > , { State :: from ( v ) . decrypt ( key ) . into ( ) }
Decrypt value with given key.
Decrypt value with given key .
v
T
key
&Key
example
None