Expand description
DBE
§Introduction
§License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Structs§
- Default
Encryptor - Default encryptor
- Encryption
- Encryption
- IV
- IV.
Enums§
- AesError
aes
oraes-std
- Aes error
- Encrypt
Error - Encrypt error
- Encryption
Algorithm - Encryption algorithm.
Constants§
- BLOCK_
SIZE - The block size of the encryption algorithm.
Traits§
- Encryptor
- AES encryption extensions
Functions§
- block_
size - Returns the block size of the encryption algorithm
- encrypt
- Encrypts data with IV. Can be used for both encryption and decryption.
- encrypt_
to - Encrypts
src
with IV todst
. Can be used for both encryption and decryption. - encrypt_
to_ vec - Encrypts src with IV to a new
Vec
. Can be used for both encryption and decryption. - is_
valid_ private_ key - Check if the private key length is valid
- random_
iv - generates IV.