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

15
LINES

< > BotCompany Repo | #1001856 // signJavaWithComputerID

JavaX fragment (include)

!636

  !include #1001548 // PKI
  !1001045 // double class remover
  !629 // standard functions
  
  // appends two comment lines with computer id and signature
  static S signJavaWithComputerID(S s) {
    S computerID = getComputerID();
    s = rtrim(s) + "\n" + "// -" + computerID();
    s = fromLines(toLines(s));
    S signature = s + "// sig: " + getMySignatureForText(s);
    signature = fromLines(toLines(signature));
    ret signature;
  }

Author comment

Began life as a copy of #1001566

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001856
Snippet name: signJavaWithComputerID
Eternal ID of this version: #1001856/1
Text MD5: 37bbd0c69199bddcadce44f1210aaf81
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-27 20:17:55
Source code size: 465 bytes / 15 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 545 / 782
Referenced in: [show references]