|
Hi,
In the RDekstop - 1.1.0 code, the RSA and RC4 encryption algorithms seem to
do more than what these algorithms generally do.
Actually I am using an open source Java crypto library called
Cryptix.
If I pass the same data to Cryptix's RSA and the same to
sec_rsa_encrypt,
I get different output. I saw that sec_rsa_encrypt, is reversing all the
binary arrays ie input as well as output.
I tried doing that but still my data after Cryptix RSA encryption is
totally different from sec_rsa_encrypt.
Also the Cryptix library expects the data to be encrypted be passed in
chunks of size,
BI.getMagnitude(n).length
where I believe n is the modulus.
Since my data is 32 byte random number, and the above expression results in
63 bytes, how do I pad my data?
Again in RC4, Cryptix's output and RDesktop's crypto package differ
totally.
Can anybody here help me out with this?
regards,
-Ranjan
PS: Have already sent this mail to rdesktop@rdesktop.org twice, but there
seem to be some problem with my mail client/server.
Hence trying from this id. Sorry for the spam if those mails
also reach you. |