Libraryless. Click here for Pure Java version (17911L/129K).
1 | !7 |
2 | |
3 | module TestMySignature > DynSingleFunctionWithPrintLog { |
4 | void doIt { |
5 | S signed = signWithComputerIDAndDate("Here is a random text. " + randomID()); |
6 | print(signed); |
7 | S author = getAuthorOfSignedText(signed); |
8 | print(); |
9 | if (eq(author, computerID())) |
10 | infoBox("Signature Test OK!!"); |
11 | else |
12 | infoBox("Signature couldn't be verified... :("); |
13 | } |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020374 |
Snippet name: | Test My Own Cryptographic Signature |
Eternal ID of this version: | #1020374/2 |
Text MD5: | 03870e8c81c3c7bd9c46606ca850d865 |
Transpilation MD5: | 1d2ad7d8e09443807c2f1c097cddaaf1 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-16 23:59:55 |
Source code size: | 389 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 349 / 452 |
Version history: | 1 change(s) |
Referenced in: | [show references] |