diff --git a/README.md b/README.md index 36f0408..b32b394 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ When enabled with the `entangled` feature the `FuzzyPublicKey::generate_entangle allows you to generate tags that will validate against **multiple** detection keys from **distinct public keys** and opens up applications like **multiple broadcast** and **deniable sending**. - #[cfg(feature = "entangled")] + use fuzzytags::{FuzzySecretKey, FuzzyPublicKey}; let secret_key_1 = FuzzySecretKey::generate(24); let secret_key_2 = FuzzySecretKey::generate(24); @@ -133,6 +133,7 @@ opens up applications like **multiple broadcast** and **deniable sending**. let public_key_2 = secret_key_2.public_key(); // give this to a sender // Will validate for detection keys derived from both secret_key_1 and secret_key_2 up // to n=8 + #[cfg(feature = "entangled")] let tag = FuzzyPublicKey::generate_entangled_tag(vec![public_key_1,public_key_2], 8); ## Benchmarks