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

17
LINES

< > BotCompany Repo | #1001556 // Signature test

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (717L/6K/17K).

!747

m {
  p {
    long d1 = getTimeToHEAD("tinybrain.de");
    long d2 = getTimeToHEAD("google.com");
    S text = "Hello world.\n";
    text += "My distance from tinybrain.de: " + d1 + "ms.\n";
    text += "My distance from google.com: " + d2 + "ms.\n";
    
    S signed = signWithComputerID(text);
    print(signed);
    S check = "Author check: " + getAuthorOfSignedText(signed) + "!";
    print(check);
    //ntUpload(getProgramID(), "My first signed message! (" + getComputerID() + ")", signed + "\n" + check);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 18 computer(s): aoiabmzegqzx, bhatertpkbcr, cahelewubzku, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, ufhdzwgrioxs, vouqrxazstgt

No comments. add comment

Snippet ID: #1001556
Snippet name: Signature test
Eternal ID of this version: #1001556/1
Text MD5: d431e7bc86338ac624682bc154ca08bb
Transpilation MD5: 205b3d090787f411d9ab4c6d60623658
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-25 22:13:06
Source code size: 540 bytes / 17 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 737 / 834
Referenced in: #1001558 - Loading private key test
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)