From ad0cd81faf06c83b4e723b3d621e051756460bdd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 24 Feb 2008 00:58:19 +0000 Subject: changed cipher option default value to aes-ctr added option for key derivation, default is aes-ctr --- cipherFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cipherFactory.cpp') diff --git a/cipherFactory.cpp b/cipherFactory.cpp index 4271600..5d7de85 100644 --- a/cipherFactory.cpp +++ b/cipherFactory.cpp @@ -39,7 +39,7 @@ Cipher* CipherFactory::create(std::string const& type) { if( type == "null" ) return new NullCipher(); - else if( type == "aes" ) + else if( type == "aes-ctr" ) return new AesIcmCipher(); else throw std::invalid_argument("cipher not available"); -- cgit v1.2.3