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

5
LINES

< > BotCompany Repo | #1019600 // makeRSAKeyPair

JavaX fragment (include)

1  
static KeyPair makeRSAKeyPair() ctex {
2  
  KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("RSA");
3  
  keyPairGenerator.initialize(2048);
4  
  ret keyPairGenerator.generateKeyPair();
5  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019600
Snippet name: makeRSAKeyPair
Eternal ID of this version: #1019600/1
Text MD5: a03441f45e1de8d8e573803bf8035a11
Author: stefan
Category: javax / encryption
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-14 00:01:51
Source code size: 198 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 278 / 334
Referenced in: [show references]