At Sunday 7/1/2007 18:23, [EMAIL PROTECTED] wrote:
Is a docstring is the text between the three consecutive quote
characters in a .py file? The reason for the question is that I looked
See section 4.6 in the Python Tutorial - I strongly suggest you read
it (or any other introductory text lik
Sebastian 'lunar' Wiesner wrote:
> Since you are apparently unable to read to docstrings of this module, I
> will give you a short hint: yes, pycrypto supports AES with 256 bit
> keys.
Thank you for the information.
The material I consulted was:
a) the PyCrypto manual: http://www.amk.ca/python/wr
[ [EMAIL PROTECTED] <[EMAIL PROTECTED]> ]
>
> Marc 'BlackJack' Rintsch wrote:
>
>> `a` must be of length 32 for AES256. And the length of `plainText`
>> must be a multiple of 16 because it's a block cypher algorithm.
>
> Thank you. I have some follow up questions and 1 tangential question.
>
Marc 'BlackJack' Rintsch wrote:
> `a` must be of length 32 for AES256. And the length of `plainText` must
> be a multiple of 16 because it's a block cypher algorithm.
Thank you. I have some follow up questions and 1 tangential question.
Follow up question:
Would it be correct to infer that:
In <[EMAIL PROTECTED]>, mirandacascade
wrote:
> Would the following Python code perform AES256 encryption on plainText
> from Crypto.Cipher import AES
> x = AES.new(a, AES.MODE_CBC, iv)
> x.encrypt(plainText)
>
> assuming:
> a = the key value
> iv = an initialization vector
> ?
`a` must be of l
Attempting to determine whether the PyCrypto package has the capability
to perform AES256 encryption. I received the following C# snippet:
CryptoProvider provider = new CryptoProvider();
Encrypted_Type password = new Encrypted_Type();
password.EncryptedData = new EncryptedDataType();
password.Enc