Skip to content

Commit

Permalink
updates readme
Browse files Browse the repository at this point in the history
  • Loading branch information
seanwatters committed Feb 7, 2024
1 parent 8f56d09 commit d02515b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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/ordinarylabs/RGP"
version = "0.1.4"
version = "0.1.5"

[dependencies]
chacha20 = "0.9.1"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ let (fingerprint, verifying_key) = rgp::signature::generate_fingerprint();
let (our_priv_key, our_pub_key) = rgp::generate_exchange_keys();
let mut pub_keys = vec![our_pub_key];

// 8mb
let content = vec![0u8; 8_000_000];

// 20,000 recipients
for _ in 0..20_000 {
let (_, pub_key) = rgp::generate_exchange_keys();
pub_keys.push(pub_key)
}

// 8mb
let content = vec![0u8; 8_000_000];

let mut encrypted_content = rgp::content::encrypt(
fingerprint,
content.clone(),
Expand Down

0 comments on commit d02515b

Please sign in to comment.