Crate dbe

source ·
Expand description

DBE

Encrypt utils for developing database.

github

license-apache license-mit

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

Enums

Constants

  • The block size of the encryption algorithm.

Traits

Functions

  • Returns the block size of the encryption algorithm
  • Encrypts data with IV. Can be used for both encryption and decryption.
  • Encrypts src with IV to dst. Can be used for both encryption and decryption.
  • Encrypts src with IV to a new Vec. Can be used for both encryption and decryption.
  • Check if the private key length is valid
  • generates IV.

Type Definitions