BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::beaker::crypto::jcecrypto Namespace Reference


def aesEncrypt
def getKeyLength


tuple _iv = IvParameterSpec(jarray.zeros(16, 'b'))
 aesDecrypt = aesEncrypt

Detailed Description

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.

Function Documentation

def b3::lib::beaker::crypto::jcecrypto::aesEncrypt (   data,
def b3::lib::beaker::crypto::jcecrypto::getKeyLength ( )

Variable Documentation

tuple b3::lib::beaker::crypto::jcecrypto::_iv = IvParameterSpec(jarray.zeros(16, 'b'))
 All Classes Namespaces Files Functions Variables Properties