• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

RSA mixed up with DH/DSS

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

A simple question, if we are using a RSA keypair to sign/encoding, and the other side are using DH/DSS also for sign/encoding we'll have some problem to decrypt?

We are doing it and we could decrypt as well but in the final line there are some garbage characters, something like binary characters or extended ascii...

Somebody knows why is there that trash?

thanks.
 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

A simple question, if we are using a RSA keypair to sign/encoding, and the other side are using DH/DSS also for sign/encoding we'll have some problem to decrypt?



Not necessarily. As long as each side has access to the other's public key and the software you use can accept either type of keys, everything should work.

As for the so-called "garbage" characters at the end, that is often a symptom of incompatible padding schemes. Without more information or source code it is impossible to know.
 
sergio martinelli
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That "garbage" was a mistake when was wrote the encrypted file.

..and the mixed up keypair work fine anyway.

thanks Greg!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic