$ python .\sign_verify.py
Sign/Verify Example
Signing Public key:
2A 51 36 3C 62 10 6A D5 27 8E 0B 72 ED 3A A1 B9
4E DF 3B C8 45 82 44 93 9E 18 C3 36 FB 7F A3 2C
F5 B0 47 0E 3D CE 55 7D 99 A0 56 34 BE 43 59 36
50 82 93 49 58 7B F4 2B 99 DA 3C 33 12 19 99 82
Message Digest:
09 BA 4E F5 83 A1 E8 19 19 1F FD 4B 86 D5 55 0D
27 6B 4A C0 D3 54 E1 C4 FD CC 47 D6 D8 8C DC 33
Signing the Message Digest
Signing with device
Signature:
22 3C 80 CE F4 2C DB 55 FB 8D 5B 57 03 FB 3A 4C
0A EB 98 90 85 DC 33 7B D7 3B E8 4B B3 3E 36 C5
E0 89 C6 F6 AA 80 DC 9F 37 13 97 2D 18 ED 3D BF
62 10 0A CC 68 6B 1A 45 21 71 2E 5C 14 86 F9 98
Verifing the signature:
Verifying with host
Signature is valid!
Done
|