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

6
LINES

< > BotCompany Repo | #1005126 // crypto_cipherBytes

JavaX fragment (include)

static byte[] crypto_cipherBytes(Cipher cipher, byte[] data) ctex {
  new ByteArrayOutputStream baos;
  baos.write(cipher.update(data));
  baos.write(cipher.doFinal());
  ret baos.toByteArray(); 
}

Author comment

Began life as a copy of #1005125

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005126
Snippet name: crypto_cipherBytes
Eternal ID of this version: #1005126/1
Text MD5: cc09c08c517cf8fa5adc821e7f84531e
Author: stefan
Category: javax / cryptography
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-16 21:18:21
Source code size: 202 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 543 / 541
Referenced in: [show references]