%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/beaker/crypto/
Upload File :
Create Path :
Current File : //proc/self/root/opt/alt/python27/lib/python2.7/site-packages/beaker/crypto/jcecrypto.pyc

�
7Y�Kc@sldZddlmZddlmZmZddlZeejdd��Zd�Z	e	Z
d�ZdS(	s�
Encryption module that uses the Java Cryptography Extensions (JCE).

Note that in default installations of the Java Runtime Environment, the
maximum key length is limited to 128 bits due to US export
restrictions. This makes the generated keys incompatible with the ones
generated by pycryptopp, which has no such restrictions. To fix this,
download the "Unlimited Strength Jurisdiction Policy Files" from Sun,
which will allow encryption using 256 bit AES keys.
i����(tCipher(t
SecretKeySpectIvParameterSpecNitbcCsGtjd�}t|d�}|jtj|t�|j|�j�S(NsAES/CTR/NoPaddingtAES(RtgetInstanceRtinittENCRYPT_MODEt_ivtdoFinalttostring(tdatatkeytciphertskeySpec((sH/opt/alt/python27/lib/python2.7/site-packages/beaker/crypto/jcecrypto.pyt
aesEncryptscCs tjd�}t|d�dS(NsAES/CTR/NoPaddingii(RtgetMaxAllowedKeyLengthtmin(tmaxlen((sH/opt/alt/python27/lib/python2.7/site-packages/beaker/crypto/jcecrypto.pytgetKeyLengths(t__doc__tjavax.cryptoRtjavax.crypto.specRRtjarraytzerosRRt
aesDecryptR(((sH/opt/alt/python27/lib/python2.7/site-packages/beaker/crypto/jcecrypto.pyt<module>
s	

Zerion Mini Shell 1.0