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

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

문제

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

도움이 되었습니까?

해결책

If the implementations are correct, then - yes.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top