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

9
LINES

< > BotCompany Repo | #1001566 // signWithComputerID

JavaX fragment (include)

// appends a new line with computer id and signature
static S signWithComputerID(S s) {
  S computerID = getComputerID();
  s = rtrim(s) + "\n\n" + "-" + computerID();
  s = fromLines(toLines(s));
  S siged= s + "sig: " + getMySignatureForText(s);
  signed = fromLines(toLines(signed));
  ret signed;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001566
Snippet name: signWithComputerID
Eternal ID of this version: #1001566/2
Text MD5: 390fcc5c6e28877ceb9898799aafefaf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-14 00:49:04
Source code size: 312 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 750 / 976
Version history: 1 change(s)
Referenced in: [show references]