文件名称:AES代码 可以用的
文件大小:2KB
文件格式:JAVA
更新时间:2013-05-03 07:02:28
AES
mport java.security.*; import javax.crypto.*; import javax.crypto.spec.*; import java.io.*; /** * This program generates a AES key, retrieves its raw bytes, and * then reinstantiates a AES key from the key bytes. * The reinstantiated key is used to initialize a AES cipher for * encryption and decryption. */ public class AES {