use crate::crypto_systems::des::DES;
use crate::error::DESError;
use crate::prelude::*;
use crate::Traits::Encrypt;
impl Encrypt<DESError, String, String> for DES {
/// Encrypts a string using the des cipher.
///
/// TODO: make decscription
/// description goes here
///
/// # Arguments
///
/// * `cipher_text` - A `String` that holds the text to be encrypted.
///
/// # Returns
///
/// * A `Result<String, desError>` which is `Ok` if the encryption is successful, and `Err` otherwise.
/// The `Ok` variant contains the encrypted text, and the `Err` variant contains an error type.
///
/// # Example
///
/// TODO: make example
fn encrypt(&self, cipher_text: String) -> Result<String, DESError> {
unimplemented!()
}
}
#[cfg(test)]
mod test {
use super::*;
use crate::Traits::Encrypt;
// TODO: make tests for des encrypt implementation
}