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

3
LINES

< > BotCompany Repo | #1001565 // getMySignatureForText [my = computer]

JavaX fragment (include)

  static S getMySignatureForText(S s) {
    ret base64encode(PKI.sign(toUtf8(s), PKI.getStandardPrivateKey()));
  }

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: #1001565
Snippet name: getMySignatureForText [my = computer]
Eternal ID of this version: #1001565/1
Text MD5: 3499a9cae502f22dd12d6dbaec8376ab
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-06 19:04:54
Source code size: 119 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 664 / 933
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1004857 - getUserSignatureForText -- privileged function!!
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1018440 - pki_signatureForText
#3000382 - Answer for ferdie (>> t = 1, f = 0)