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

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

Pergunta

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

Foi útil?

Solução

If the implementations are correct, then - yes.

Outras dicas

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 em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top