代码搜索:Cipher
找到约 3,792 项符合「Cipher」的源代码
代码结果 3,792
www.eeworm.com/read/239299/13290522
java aescryptography.java
/**
* AES加密解密及相关方法
*/
package src;
import java.security.*;
import javax.crypto.*;
/**
* RSACryptography
* RSACryptography use the privated key to encrypt the plain text and decrypt
*
www.eeworm.com/read/100389/6270386
java cbc.java
// $Id: CBC.java,v 1.6 1998/04/02 01:42:01 raif Exp $
//
// $Log: CBC.java,v $
// Revision 1.6 1998/04/02 01:42:01 raif
// *** empty log message ***
//
// Revision 1.5.1 1998/04/02 raif
// + added
www.eeworm.com/read/134217/14000733
java simpleexample.java
import java.security.*;
import javax.crypto.*;
public class SimpleExample
{
public static void main(String[] args) throws Exception
{
if (args.length!=1){
System.out.println("Usage: java Si
www.eeworm.com/read/110418/15534500
java cbccipher.java
/*
Christoforos Pirillos @ Villanova University - May 1999
based on code from the book "Java Network Programming" by Hughes
*/
package encryption;
/**
/**The CBCCipher class is a Cipher that attache
www.eeworm.com/read/100601/6268026
h secmime.h
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
www.eeworm.com/read/289895/8519275
java aesencryption.java
package src;
import java.io.*;
import javax.crypto.*;
import java.security.*;
public class AESEncryption {
public static void main(String[] args) {
KeyGenerator kg = null;
try {
www.eeworm.com/read/289895/8519283
java rsadecryption.java
package src;
import java.security.Key;
import javax.crypto.Cipher;
public class RSADecryption {
public static byte[] decrypt(Key privateKey, byte[] obj) {
if (privateKey != null) {
t
www.eeworm.com/read/289895/8519290
java rsaencryption.java
package src;
import java.security.*;
import javax.crypto.Cipher;
public class RSAEncryption {
public static byte[] encrypt(PublicKey publicKey, byte[] obj) {
if (publicKey != null) {
www.eeworm.com/read/389435/8520960
java pairkeyexample.java
/*
* Copyright (c) 2004 ???. All Rights Reserved.
*
* Version 1.0 , Created on 2004-3-10
*
*/
/**
* @author Devon
*/
import java.security.*;
import java.security.spec.*;
import j
www.eeworm.com/read/288446/8631531
java rsa.java
import java.security.*;
import java.security.interfaces.RSAPrivateKey;
import java.security.interfaces.RSAPublicKey;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
i