Does two symmetric encryption algorithms return the same result in two different OS and Programming Framework?

StackOverflow https://stackoverflow.com/questions/11840660

Pregunta

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

¿Fue útil?

Solución

If the implementations are correct, then - yes.

Otros consejos

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

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top