Skip to content

Commit

Permalink
updates readme with correct values for int size
Browse files Browse the repository at this point in the history
  • Loading branch information
seanwatters committed Feb 9, 2024
1 parent 955d9ba commit a3fae7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ license = "MIT"
name = "rgp"
readme = "README.md"
repository = "https://github.com/seanwatters/RGP"
version = "0.1.8"
version = "0.1.9"

[dependencies]
chacha20 = "0.9.1"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ To check performance on your machine, run `cargo bench` (or `cargo bench --no-de
- **nonce** = 24 bytes
- **one-time public key** = 32 bytes
- keys count (1-9 bytes)
- int size = 2 bits (1 for u8 | 2 for u16 | 4 for u32 | 8 for u64)
- int size = 2 bits (0 for u8+63 | 1 for u16+63 | 2 for u32+63 | 3 for u64+63)
- count
- numbers 0-63 = 6 bits
- numbers >63 = 1-8 bytes (big endian int)
Expand Down

0 comments on commit a3fae7a

Please sign in to comment.