Skip to content
Snippets Groups Projects
Commit 6cefb0b4 authored by Vincent Texier's avatar Vincent Texier
Browse files

[enh] enhance examples

parent d33e7d31
No related branches found
No related tags found
No related merge requests found
Pipeline #5035 passed
from duniterpy.key import PublicKey
################################################
# CONFIG #######################################
ENCRYPTED_MESSAGE_FILENAME = '/tmp/duniter_encrypted_message.bin'
ENCRYPTED_MESSAGE_FILENAME = 'duniter_encrypted_message.bin'
################################################
if __name__ == '__main__':
# Ask public key of the recipient
......
import getpass
from duniterpy.key import SigningKey
import libnacl.sign
################################################
from duniterpy.key import SigningKey
SIGNED_MESSAGE_FILENAME = 'duniter_signed_message.bin'
# CONFIG #######################################
SIGNED_MESSAGE_FILENAME = '/tmp/duniter_signed_message.bin'
################################################
if __name__ == '__main__':
# prompt hidden user entry
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment