Skip to content

Commit

Permalink
revamp doc (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
kigawas authored Dec 9, 2020
1 parent 17bbe96 commit 49d7c4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Following dependencies are audited:

### 0.2.0

- Revamp documentations
- Revamp documentation
- Optional pure Rust AES backend
- WASM compatibility

Expand Down
4 changes: 4 additions & 0 deletions src/consts.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/// AES IV/nonce length
pub const AES_IV_LENGTH: usize = 16;
/// AES tag length
pub const AES_TAG_LENGTH: usize = 16;
/// AES IV + tag length
pub const AES_IV_PLUS_TAG_LENGTH: usize = AES_IV_LENGTH + AES_TAG_LENGTH;
/// Empty bytes array
pub const EMPTY_BYTES: [u8; 0] = [];

0 comments on commit 49d7c4f

Please sign in to comment.