我正在寻找一种简单快速的算法来使用密码加密/解密字符串(长度约为 128 字节)。
有什么好的算法吗?
添加:自定义算法绝对没问题。占用的内存更少 - 更好(对于我的情况)。没有额外的类(class) - 完美。
最佳答案
AES Algorithm
: Implementation
<小时/>AES is a federal standard for private-key or symmetric cryptography. It supports combinations of key and block sizes of 128, 192, and 256.
怎么样IDEA - International Data
Encryption Algorithm
?
IDEA is the name of the patented and universally applicable block encryption algorithm, which permits the effective protection of transmitted and stored data against unauthorized access by third parties.
关于java - 需要算法来用密码保护字符串吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6371246/