From caaaacf03093301527adb2ea99acddcb65de7b12 Mon Sep 17 00:00:00 2001 From: koldo Date: Sun, 20 Jan 2019 15:26:13 +0000 Subject: [PATCH] AESStreamTest: Added sample from user key git-svn-id: svn://ultimatepp.org/upp/trunk@12686 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/AESStreamTest/AESStreamTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bazaar/AESStreamTest/AESStreamTest.cpp b/bazaar/AESStreamTest/AESStreamTest.cpp index f9508f3f9..b2b930722 100644 --- a/bazaar/AESStreamTest/AESStreamTest.cpp +++ b/bazaar/AESStreamTest/AESStreamTest.cpp @@ -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;