| | I want to provide my application with simple licensing mechanism based on RSA algorithm.
Are there any free RSA libraries?
| I try to implement an RSA algorithm in a Java program. I am facing the "BadPaddingException : data must start with zero".
Here are the methods used to encrypt and decrypt my ... | I am using Java 1.4.2_10 and I am trying to use RSA encryption:
I am getting the NoSuchAlgorithmException for the following code:
cipher = Cipher.getInstance("RSA");
This is the error:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ...
| I am trying to implement the RSA algorithm, but for some reason my code below doesn't produce correct results (note that only the relevant code is shown).
BigInteger n = ...
| Hi
I am trying to user RSA on J9. The algorithm is offered by the 'J9JCE' provider which is an installed extension(i listed all the existing providers and algorithms and found them) ... | I'm trying to adopt RSA algorithm for encrypting String objects, but seems that BigInteger -> String and String -> BigInteger conversions do not work properly. Here's my code:
public class RSAEncryptor {
...
| I need to implement RSA algorithm in Java. I've found the best solution using BigIntegers, problem is that I need to work only with ints or longs.
The encrypting is done ... | | I am new to Java and want to wrap a symmetric key using RSA algorithm. In my case I am not generating the public key for wrapping, but retrieving the public ... | i want to ask u something about DRM here.i want to encrypt/decrypt a file using RSA algorithm in java.can anyone send the sample code for this.any help is thankful..thanx in advance..
... | hi can any one tell whats wrong i am doing in this code...
I sign the Message using Java IBMFIPS compliant
the code to sign the message is
//Signs the hash of each ...
| Im doing my own implementation of RSA algorithm in java.
So far i have it working, i want to be able to encrypt a message string eg. "hello"
its a very basic version ... | Hi I'm looking for SOME advice on how to simulate the following: http://i71.photobucket.com/albums/i140/carpinate/RSA.jpg http://i71.photobucket.com/albums/i140/carpinate/RSA2.jpg Ive done this so far: package RSAalgorithm; public class SecurityAlgorithm { public static char[] StartSymbolic = {'A','B','C','D','E','F','G','H','I','J', 'K','L','M','N','O','P','Q','R','S','T', 'U','V','W','X','Y','Z'}; public static int[] numeric = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, 16,17,18,19,20,21,22,23,24,25,26}; public static void main(String[] args) { long P3 = 0; long P3mod33=0; long C7=0; long C7mod33=0; for(int counter = 0; counter ... | Hi I'm looking for SOME advice on how to simulate the following: http://i71.photobucket.com/albums/i140/carpinate/RSA.jpg http://i71.photobucket.com/albums/i140/carpinate/RSA2.jpg Ive done this so far: package RSAalgorithm; public class SecurityAlgorithm { public static char[] StartSymbolic = {'A','B','C','D','E','F','G','H','I','J', 'K','L','M','N','O','P','Q','R','S','T', 'U','V','W','X','Y','Z'}; public static int[] numeric = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, 16,17,18,19,20,21,22,23,24,25,26}; public static void main(String[] args) { long P3 = 0; long P3mod33=0; long C7=0; long C7mod33=0; for(int counter = 0; counter ... | | Hi retha, Don't expect anyone to give you the code. However, you can find lots of information on the RSA algorithm on the Internet --- it's just a Google search away. Implementing one from scratch is easy enough. What will probably take time is research into number theory (if you aren't already up to scratch) and the optimization of the calculations ... |
|