Does two symmetric encryption algorithms return the same result in two different OS and Programming Framework?
-
25-06-2021 - |
質問
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.
所属していません StackOverflow