Commit 6cefb0b4 authored by Vincent Texier's avatar Vincent Texier

[enh] enhance examples

parent d33e7d31
Pipeline #5035 passed with stages
in 3 minutes and 23 seconds
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment