cryptojs_rust 0.1.0

A Rust implementation of CryptoJS encryption/decryption functionality
Documentation
# cryptojs_rust

A Rust implementation of CryptoJS encryption/decryption functionality, focusing on AES encryption compatibility.

## Features

- AES-256 encryption/decryption compatible with CryptoJS
- Support for various block cipher modes (CBC, ECB, CFB, OFB, CTR)
- CryptoJS-compatible key derivation
- Base64 encoding/decoding
- Proper PKCS7 padding handling

## Installation

Add this to your `Cargo.toml`:

```toml
[dependencies]
cryptojs_rust = "0.1.0"
```

## Usage

Here's a simple example of decrypting CryptoJS encrypted data:

```rust
use cryptojs_rust::cryptojs;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let encrypted_data = "U2FsdGVkX1..."; // Your CryptoJS encrypted string
    let password = b"your_password";
    
    let decrypted = cryptojs::decrypt(encrypted_data, password)?;
    println!("Decrypted: {}", decrypted);
    
    Ok(())
}
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## Security

This crate implements cryptographic functionality. While we strive for correctness and security, this implementation has not been audited. Use at your own risk in production environments.