[package]
name = "magic-crypt"
version = "6.0.0"
authors = ["Magic Len <len@magiclen.org>"]
edition = "2024"
rust-version = "1.89"
repository = "https://github.com/magiclen/rust-magiccrypt"
homepage = "https://magiclen.org/aes"
keywords = ["crypto", "aes", "des", "encrypt", "decrypt"]
categories = ["no-std" ,"algorithms", "cryptography"]
description = "MagicCrypt is a Java/PHP/NodeJS/Rust library to encrypt/decrypt strings, files, or data, using Data Encryption Standard(DES) or Advanced Encryption Standard(AES) algorithms. It supports CBC block cipher mode, PKCS7 padding and 64, 128, 192 or 256-bits key length."
license = "Apache-2.0"
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE"]
[dependencies]
base64 = { version = "0.23", default-features = false, features = ["alloc"] }
cbc = { version = "0.2", features = ["alloc", "zeroize"] }
des = { version = "0.9", features = ["zeroize"] }
aes = { version = "0.9", features = ["zeroize"] }
md-5 = { version = "0.11", features = ["zeroize"] }
tiger = { version = "0.3", features = ["zeroize"] }
sha2 = { version = "0.11", features = ["zeroize"] }
crc-any = { version = "3.1", default-features = false }
zeroize = { version = "1.8", default-features = false }
[features]
default = ["std"]
std = ["base64/std", "crc-any/std"]