OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
Nice to meet you.
Sun's RSA cipher implementation will only encrypt one block of data.
OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
Nice to meet you.
OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
Are you saying that if I pass more than 256 bytes to cipher.doFinal, Sun's RSA implementation will only process the first 256 because of the key size/modulus.
If I use a hybrid approach where & how do I keep my AES key? This application ll be distributed to customers. If I encrypt is using my private key and store it as part of the application, the application can be reverse engineered and encrypted key extracted. Customers have the public key and can decrypt it.
Nice to meet you.
OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
Nice to meet you.
OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
Aryan Khan wrote:Greg ... tried with PKCS1Padding... Didn't work. Added BouncyCastle and just used "RSA" and no white spacing....
Any ways got it working....
Thanks
Aryan
Always look on the bright side of life. At least this ad is really tiny:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|