use ;
use Aes256Cryptor;
/// Accepts raw string, returns BASE64 string
///
/// Decode via:
/// ```rust
/// use byte_aes::Aes256Cryptor;
///
/// pub fn decode_aes(key: &str, value: &[u8]) -> String {
/// let decoded_data = {
/// let cryptor = Aes256Cryptor::try_from(key).unwrap();
/// cryptor.decrypt(value).expect("Can't decrypt data")
/// };
///
/// String::from_utf8(decoded_data).unwrap()
/// }
/// ```