diff --git a/README.md b/README.md index ec1c586..11c1c53 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Following dependencies are audited: ### 0.2.0 -- Revamp documentations +- Revamp documentation - Optional pure Rust AES backend - WASM compatibility diff --git a/src/consts.rs b/src/consts.rs index 40c14af..61980d2 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -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] = [];