.NET TripleDESCryptoServiceProvider equivalent in Java

后端 未结 4 673
温柔的废话
温柔的废话 2020-12-25 09:26

Please, just don\'t ask me why. I just have this code in .NET that encrypt/decrypt strings of data. I need now to make \'exactly\' the same funcionality in java. I have trie

4条回答
  •  独厮守ぢ
    2020-12-25 09:37

    Have you made sure the .NET code uses the same padding as the Java code? I see no padding specified in the .NET code, that's why I ask.

    Do you happen to have the source for the Java code, it will help find mistakes.

提交回复
热议问题