Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1020374 // Test My Own Cryptographic Signature

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (17911L/129K).

!7

module TestMySignature > DynSingleFunctionWithPrintLog {
  void doIt {
    S signed = signWithComputerIDAndDate("Here is a random text. " + randomID());
    print(signed);
    S author = getAuthorOfSignedText(signed);
    print();
    if (eq(author, computerID()))
      infoBox("Signature Test OK!!");
    else
      infoBox("Signature couldn't be verified... :(");
  }
}

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: 262 / 354
Version history: 1 change(s)
Referenced in: [show references]