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: 753 / 980
Version history: 1 change(s)
Referenced in: #1001856 - signJavaWithComputerID
#1002427 - Accellerating 629 (SPIKE)
#1004858 - signWithUserID - privileged function!! Only if user actually said something.
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1017114 - signWithComputerIDAndDate
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)