From b16437ac68a72b128e3771e0847f376237f649a3 Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 21 May 2013 17:22:14 -0300 Subject: Remove openpgp symmetric encryption. --- src/leap/common/crypto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/leap/common/crypto.py') diff --git a/src/leap/common/crypto.py b/src/leap/common/crypto.py index f49933b..d7a8457 100644 --- a/src/leap/common/crypto.py +++ b/src/leap/common/crypto.py @@ -83,14 +83,14 @@ def decrypt_sym(data, key, method=EncryptionMethods.AES_256_CTR, **kwargs): """ Decrypt C{data} with C{key} using C{method} encryption method. - @param data: The data to be decrypted with prepended IV. + @param data: The data to be decrypted. @type data: str @param key: The key used to decrypt C{data} (must be 256 bits long). @type key: str @param method: The encryption method to use. @type method: str @param kwargs: Other parameters specific to each encryption method. - @type kwargs: long + @type kwargs: dict @return: The decrypted data. @rtype: str -- cgit v1.2.3