fn new() -> Self {
        let cfg = EncryptionConfig::from_env().unwrap();

        let key = hex::decode(cfg.key).unwrap();
        let iv = hex::decode(cfg.iv).unwrap();
        // let mut cipher = Aes128Cbc::new_var(
        //     key.clone().as_slice(),
        //     iv.clone().as_slice()
        // ).unwrap();

        Self {
            key,
            iv,
            // cipher,
        }
    }
/// use this class to add encryption to a data vault
/// # Example
/// ```rust
/// use data_vault::encryption::traits::Encryption;
/// use data_vault::encryption::traits::Aes128CbcCipher;
/// use data_vault::encryption::Aes128CbcEncryption;
/// let enc = Aes128CbcEncryption::new();
/// ```
use this class to add encryption to a data vault
use this class to add encryption to a data vault
fn new() -> Self {
        let cfg = EncryptionConfig::from_env().unwrap();
        let key = hex::decode(cfg.key).unwrap();
        let iv = hex::decode(cfg.iv).unwrap();
        // let mut cipher = Aes128Cbc::new_var(
        //     key.clone().as_slice(),
        //     iv.clone().as_slice()
        // ).unwrap();
        Self {
            key,
            iv,
            // cipher,
        }
    }
fn new ( ) -> Self { let cfg = EncryptionConfig :: from_env ( ) . unwrap ( ) ; let key = hex :: decode ( cfg . key ) . unwrap ( ) ; let iv = hex :: decode ( cfg . iv ) . unwrap ( ) ; // let mut cipher = Aes128Cbc::new_var( //     key.clone().as_slice(), //     iv.clone().as_slice() // ).unwrap(); Self { key , iv , // cipher, } }
use this class to add encryption to a data vault
use this class to add encryption to a data vault
example
```rust
use data_vault::encryption::traits::Encryption;
use data_vault::encryption::traits::Aes128CbcCipher;
use data_vault::encryption::Aes128CbcEncryption;
let enc = Aes128CbcEncryption::new();
```
` ` ` rust use data_vault :: encryption :: traits :: Encryption ; use data_vault :: encryption :: traits :: Aes128CbcCipher ; use data_vault :: encryption :: Aes128CbcEncryption ; let enc = Aes128CbcEncryption :: new () ; ` ` `