blowfish-mbed-c

Crates.ioblowfish-mbed-c
lib.rsblowfish-mbed-c
version0.1.1
sourcesrc
created_at2024-01-26 22:15:27.353982
updated_at2024-02-13 13:48:45.314315
descriptionRusty interface for the deprecated mbedtls implementation of Blowfish cipher.
homepage
repositoryhttps://github.com/alexobolev/blowfish-mbed
max_upload_size
id1115957
size28,409
Alex Sobolev (alexobolev)

documentation

README

blowfish-mbed

Build status License: Apache-2.0 License: GPLv2+

This repository provides two crates for encryption and decryption of data using the Blowfish cipher. While it is no longer recommended for usage in modern software, this cipher can still be found in legacy code.

The crates in this repository are:

  • blowfish-mbed-sys - direct bindings to mbedtls's cipher implementation;

    • crates.io (sys) docs.rs (sys)
  • blowfish-mbed-c - idiomatic Rust interface over the C bindings above.

    • crates.io (c) docs.rs (c)

Backlog

The blowfish-mbed-c crate only wraps ECB and CBC modes of operation yet.

It would be a good idea to also provide a safe interface for the CFB and CTR modes for completeness' sake, since mbedtls already implements those.

License

The implementation found in this repository is lifted almost directly from the mbedtls suite. To be more specific, from its 2.28 branch, as Blowfish was removed from the library starting from 3.x versions.

Thus, licensing for this repository follows that of the original implementation. Both crates are dual-licensed under Apache-2.0 and GPL-2.0-or-later.

Commit count: 0

cargo fmt