我是加密过程的新手。能否使用给定文本对 zip 文件进行加密,或者我们可以使用 aes、三元组 aes、blowfish 等任何算法对 zip 进行加密。如果有流程,请指导我举例和引用。
最佳答案
zip4j, java library to handle Zip files (Open source, Apache License v2.0).
Create, Add, Extract, Update, Remove files from a Zip file Read/Write password protected Zip files Supports AES 128/256 Encryption Supports Standard Zip Encryption You can download binary, sources and examples.
This topic很可能会解决您的问题。我还创立了java.util.zip documentation这可能对你有帮助。
我也听说过一次7-zip可链接到项目中,但我不知道在java中是否可能。
关于java - zip 文件可以使用 AES 加密吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44278270/