2020
10-10
10-10
JAVA 实现磁盘文件加解密操作的示例代码
简单实现了下:importjavax.crypto.BadPaddingException;importjavax.crypto.Cipher;importjavax.crypto.KeyGenerator;importjavax.crypto.SecretKey;importjava.io.*;importjava.security.GeneralSecurityException;importjava.security.SecureRandom;/***文件/目录加解密相关*@author:Nemo*@date:2019/3/19.*/publicclassFileCrote{/***加密后的文件后缀*/privatestaticfinalStringSUBFIX="...
继续阅读 >