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

4
LINES

< > BotCompany Repo | #1005127 // aesEncryptString

JavaX fragment (include)

// uses empty salt & empty IV, base 64
static S aesEncryptString(S data, S password) ctex {
  ret base64encode(aesEncrypt(toUtf8(data), password));
}

Author comment

Began life as a copy of #1005124

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: #1005127
Snippet name: aesEncryptString
Eternal ID of this version: #1005127/1
Text MD5: 5a0b3945c6110f278c45ca8cc44017bf
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:12:17
Source code size: 154 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 543 / 557
Referenced in: [show references]