0

Simply in .Net I encrypt the the Id By DES a Symmetric Encryption algorithm and specific Key in .NET . I'm wondering could my partner in Java decrypt just by knowing the name of algorithm and the key ?

Thanks

Kamal
  • 5,462
  • 8
  • 45
  • 58
Mostafa
  • 3,002
  • 10
  • 52
  • 79

3 Answers3

0

If the implementations are correct, then - yes.

Buffalo
  • 3,861
  • 8
  • 44
  • 69
0

yes he can, that's the point of an algorithm. There are some encryption standards which require additional data, lika padding in RSA, but that does not apply to DES

Christian Elsner
  • 113
  • 1
  • 4
  • 15
0

If you are using same algorithm and same key, you will get the same output. It does not matter which platform you are using.

Kamal
  • 5,462
  • 8
  • 45
  • 58