Code example for IllegalBlockSizeException

Methods: getMessage

	// private variables 
	PrivateKey privateKey;
	PublicKey publicKey;
	CipherStore cipherStorePublic;
	CipherStore cipherStorePrivate;
	 * Create an Encryption object with a public and private key 
	 * @param privateKey 
	 * @param publicKey 
	public PublicPrivateEncryptor(PrivateKey privateKey, PublicKey publicKey){
		this.privateKey = privateKey;
		this.publicKey = publicKey;
		cipherStorePublic = new CipherStore(publicKey, ALGORITHM_RSA_ENCRYPTION);
		cipherStorePrivate = new CipherStore(privateKey, ALGORITHM_RSA_ENCRYPTION);
	 * Create an encryption object from base64 encoded keys. They keys can be null, but then will get null pointer exceptions if