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);
Connect your IDE to all the code out there  Get Codota for Java