java Java中的三重DES加解密

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10316358/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 00:32:25  来源:igfitidea点击:

Triple DES encryption and decryption in Java

javaencryption

提问by

Possible Duplicate:
How do I use 3des encryption/decryption in Java?

可能的重复:
如何在 Java 中使用 3des 加密/解密?

I am looking for a solution for the Triple DES encryption and decryption in Java. I want to store a password encrypted in Triple DES in a file - and I want the program to decrypt this password and use it on runtime.

我正在寻找 Java 中三重 DES 加密和解密的解决方案。我想在一个文件中存储一个以 Triple DES 加密的密码 - 我希望程序解密这个密码并在运行时使用它。

Can anyone point me to resources/tutorials or even full solutions on how to achieve this?

任何人都可以向我指出有关如何实现这一目标的资源/教程甚至完整的解决方案吗?

回答by

Have you tried the bounce castlelib?

你试过弹跳城堡库吗?

There are a lot of examples and encrytion options.

有很多示例和加密选项。