搜索资源列表
肖俊.java
- ava加密扩展即Java Cryptography Extension,简称JCE。它是Sun的加密服务软件,包含了加密和密匙生成功能。JCE是JCA(Java Cryptography Architecture)的一种扩展。 JCE没有规定具体的加密算法,但提供了一个框架,加密算法的具体实现可以作为服务提供者加入。除了JCE框架之外,JCE软件包还包含了SunJCE服务提供者,其中包括许多有用的加密算法,比如DES(Data Encryption Standard)和Blowfish。 为简单
DES
- 可以在J2me下使用的DES加密算法,输入输出参数均为byte[],使用参数1加密,0解密。-J2me can use at the DES encryption algorithm, input and output parameters are byte [], using the parameters of one encryption, 0 decryption.
encrypt
- 用RSA公匙加密,该密文可以被JAVA用RSA密匙解密。-test to encrypt plain text by RSA key, please be noted to reverse the byte array after encrypt, or otherwise the cipher can not be decrypt by java.
KeyGeneratorExample
- Java生成密钥、保存密钥的实例源码,通过本源码可以了解到Java如何产生单钥加密的密钥(myKey)、产生双钥的密钥对(keyPair)、如何保存公钥的字节数组、保存私钥到文件privateKey.dat、如何用Java对象序列化保存私钥,通常应对私钥加密后再保存、如何从文件中得到公钥编码的字节数组、如何从字节数组解码公钥-Java to generate a key instance of the source to save the key can learn Java through t
AES
- 用JAVA实现的AES算法,可对文件,字符串,byte数组加密,详细显示每一步加密过程-AES algorithm using JAVA, may file a string, byte array encryption, the encryption process every step of the detailed display
Source
- 用JAVA实现的AES算法,可对文件,字符串,byte数组加密,详细显示每一步加密过程,包含生成密匙,加密文件,用密钥k解密文件-AES algorithm using JAVA, may file a string, byte array encryption, the encryption process every step shown in detail, including key generation, encryption, file with the key k to decry
MD5Sample
- MD5 Digest Sample, it give a java code example to do a check sum for a byte array.
MD5
- 获取MD5值。包括对byte数组,字符串和文件取MD5,依赖于java.security包。精炼而实用。-Get MD5 value. Including byte arrays, strings and files take MD5, dependent on the java.security package. Refined and practical.