magic-crypt 5.0.0

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.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.87"
name = "magic-crypt"
version = "5.0.0"
authors = ["Magic Len <len@magiclen.org>"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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."
homepage = "https://magiclen.org/aes"
readme = "README.md"
keywords = [
    "crypto",
    "aes",
    "des",
    "encrypt",
    "decrypt",
]
categories = [
    "no-std",
    "algorithms",
    "cryptography",
]
license = "Apache-2.0"
repository = "https://github.com/magiclen/rust-magiccrypt"

[features]
default = ["std"]
std = ["base64/std"]

[lib]
name = "magic_crypt"
path = "src/lib.rs"

[dependencies.aes]
version = "0.9"

[dependencies.base64]
version = "0.22"
features = ["alloc"]
default-features = false

[dependencies.cbc]
version = "0.2"
features = [
    "alloc",
    "zeroize",
]

[dependencies.crc-any]
version = "3"

[dependencies.des]
version = "0.9"

[dependencies.md-5]
version = "0.11"

[dependencies.sha2]
version = "0.11"

[dependencies.tiger]
version = "0.3"

[dependencies.zeroize]
version = "1.8.1"
default-features = false