-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
touch message.txt | ||
|
||
cargo run --release --example lms-demo -- genkey mykey 10/2 --seed 012345670123456701234567012345670123456701234567 | ||
cargo run --release --example lms-demo -- sign mykey message.txt | ||
cargo run --release --example lms-demo -- verify mykey message.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# touch message.txt | ||
|
||
cargo run --release --example sst-demo -- prepare_keygen mykey 10/8,5/2 --ssts=1/8 --auxsize=2048 \ | ||
--seed=c912a74bc8c5fc1b2a73b96e6ce1eb2317dc9aa49806b30e --init_tree_ident | ||
seq 2 8 | xargs -i{} cargo run --release --example sst-demo -- prepare_keygen mykey 10/8,5/2 --ssts={}/8 --auxsize=2048 \ | ||
--seed=1eb2317dc9aa49806b30e578436d0f659b1f5c912a74bc8c | ||
cargo run --release --example sst-demo -- finalize_keygen mykey 5 | ||
|
||
cargo run --release --example sst-demo -- sign mykey.5 message.txt | ||
cargo run --release --example sst-demo -- verify mykey.5 message.txt |