mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
AESStreamTest: Added sample from user key
git-svn-id: svn://ultimatepp.org/upp/trunk@12686 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
57d63d1c0d
commit
caaaacf030
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ CONSOLE_APP_MAIN
|
|||
{
|
||||
// Generate cryptographically stable key
|
||||
String key(AESRandomString(32));
|
||||
// Generate key from user key
|
||||
//String key(SHA256Bin("ThisIsMyWonderfulKey_&6;"));
|
||||
|
||||
// Encryption
|
||||
String sIn,sOut;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue