Skip to content

Conversation

@Meshiest
Copy link

Adds the encrypt_text and decrypt_text binaries to the setup1-cli-tools, allowing setup ceremony addresses and keys to be used for encryption and decryption.

Encrypt and Decrypt Guide

Encrypt text:

cargo run --bin encrypt_text -- --address aleo1ekhu99p7m6e8slh5tpjay28vv3jklmxhtrmphg43t7hvva7hyqgqtkq846 --plaintext "foo"

Decrypt text (using keys.json):

cargo run --bin decrypt_text -- --path ./keys.json --ciphertext d62da3d3e9732ef58d98a7a1c987aa7fff8046451f4cdcf552b659171d7120057bf9c5485fcd77c5e3f6c56ed2b6d6df487e327c4de04b5ffe7e6d98761ac00a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant