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

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

Question

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

Was it helpful?

Solution

If the implementations are correct, then - yes.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top