https://github.com/elementsproject/rust-ctaes
A Rust FFI wrapper for CTAES library from https://github.com/bitcoin-core/ctaes
https://github.com/elementsproject/rust-ctaes
Last synced: 3 days ago
JSON representation
A Rust FFI wrapper for CTAES library from https://github.com/bitcoin-core/ctaes
- Host: GitHub
- URL: https://github.com/elementsproject/rust-ctaes
- Owner: ElementsProject
- License: mit
- Created: 2025-05-13T14:46:33.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-05-15T16:13:18.000Z (about 2 months ago)
- Last Synced: 2025-06-22T06:06:42.398Z (8 days ago)
- Language: C
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# ctaes-rs
Rust bindings and API for CTAES (constant-time AES implementation from Bitcoin Core found at
https://github.com/bitcoin-core/ctaes)The CTAES Library provides a constant time implementation of the AES algorithm. For completeness
this crate provides the interface to the AES-ECB methods, but they should not be used. Rather,
use the AES-CBC methods.The crate also provides a Padding utility implementation to help the user prepare, pad and unpad
buffers. Zero Padding and PKCS7 padding implementations are providedRun `cargo doc --nodeps` to generate the documentation of the library.
# Note
This is a low-level encryption library and should be employed in conjunction with a message
authentication scheme to avoid chosen-ciphertext and chosen-plaintext attacks.# Compatibility
This crate requires Rust 1.63.0 or later.