import java.math.BigInteger;

/**
 * Project RSA Algorithm.
 * Copyright Michał Szczygieł.
 * Created at Feb 24, 2014.
 */

/**
 * This interface describe the basic operation with encryption algorithm.
 * 
 * @author Michał Szczygieł <michal.szczygiel@wp.pl>
 * 
 */
public interface Encryption {

    /**
     * This method makes operation to achieve decrypted message.
     * 
     * @param valueToDecrypt
     *            The value of which will be performed the decryption process.
     * @return Decrypted value.
     */
    public BigInteger decrypt(BigInteger valueToDecrypt);

    /**
     * This method makes operation to create encrypted message.
     * 
     * @param valueToEncrypt
     *            The value of which will be performed the encryption process
     * @return Encrypted value.
     */
    public BigInteger encrypt(BigInteger valueToEncrypt);

}

@@ -629,234 +629,808 @@
  to 
-create encrypted message.%0A     * %0A     * @param valueToEncrypt%0A     *            The value of which will be performed the encryption process%0A     * @return Encrypted value.%0A     */%0A    public BigInteger encrypt(BigInteger valu
+achieve decrypted message.%0A     * %0A     * @param messageToDecrypt%0A     *            The message of which will be performed the decryption process.%0A     * @return Decrypted message.%0A     */%0A    public String decrypt(String messageToDecrypt);%0A%0A    /**%0A     * This method makes operation to create encrypted message.%0A     * %0A     * @param valueToEncrypt%0A     *            The value of which will be performed the encryption process%0A     * @return Encrypted value.%0A     */%0A    public BigInteger encrypt(BigInteger valueToEncrypt);%0A%0A    /**%0A     * This method makes operation to create encrypted message.%0A     * %0A     * @param messageToEncrypt%0A     *            The message of which will be performed the encryption process%0A     * @return Encrypted message.%0A     */%0A    public String encrypt(String messag
 eToE

Extend interface for encryption