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

3
LINES

< > BotCompany Repo | #1018440 // pki_signatureForText

JavaX fragment (include)

1  
sS pki_signatureForText(S s, PKIKeyPair keyPair) {
2  
  ret base64encode(PKI.sign(toUtf8(s), PKI.privateKeyFromString(keyPair.privateKey)));
3  
}

Author comment

Began life as a copy of #1001565

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018440
Snippet name: pki_signatureForText
Eternal ID of this version: #1018440/2
Text MD5: e241622e919d41b1f52932c733560634
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-30 15:55:24
Source code size: 143 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 262 / 316
Version history: 1 change(s)
Referenced in: [show references]