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

4
LINES

< > BotCompany Repo | #1005127 // aesEncryptString

JavaX fragment (include)

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

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: 545 / 559
Referenced in: [show references]