Re: [opensc-devel] Help MuscleApplet encrypt/decrypt RSA-Pkcs1 not RSA-NOPAD

2011-05-03 Thread Douglas E. Engert
On 5/3/2011 2:33 AM, Piero Marte wrote: > Hello, > > We are three interns in a software company, we are studying the > > project "MUSCLEAPPLET" and we got problems while encrypting a message > according to the RSA-PKCS1 algorithm. > > Premise that we can fully encrypt and decrypt with keys to 10

[opensc-devel] Help MuscleApplet encrypt/decrypt RSA-Pkcs1 not RSA-NOPAD

2011-05-03 Thread Piero Marte
Hello, We are three interns in a software company, we are studying the project "MUSCLEAPPLET" and we got problems while encrypting a message according to the RSA-PKCS1 algorithm. Premise that we can fully encrypt and decrypt with keys to 1024 using RSA_NOPAD, but we must use RSA_PKCS1. Cou

Re: [opensc-devel] Help MuscleApplet encrypt/decrypt RSA-Pkcs1 not RSA-NOPAD

2011-05-02 Thread Martin Paljak
Hello, On Mon, May 2, 2011 at 10:49, Piero Marte wrote: > Premise that we can fully encrypt and decrypt with keys to 1024 using > RSA_NOPAD, but we must use RSA_PKCS1. You can add/remove the padding in software. > Answer: 6f 00 6f00 usually means an uncought exception. You have the source code o

[opensc-devel] Help MuscleApplet encrypt/decrypt RSA-Pkcs1 not RSA-NOPAD

2011-05-02 Thread Piero Marte
Hello, We are three interns in a software company, we are studying the project "MUSCLEAPPLET" and we got problems while encrypting a message according to the RSA-PKCS1 algorithm. Premise that we can fully encrypt and decrypt with keys to 1024 using RSA_NOPAD, but we must use RSA_PKCS1. Cou