public class Ciphers extends Object
| 构造器和说明 |
|---|
Ciphers() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
decrypt(String algorithm,
byte[] key,
byte[] data) |
static byte[] |
decrypt(String algorithm,
Key key,
byte[] data) |
static byte[] |
decryptByKeySeed(String algorithm,
byte[] seed,
byte[] data) |
static byte[] |
doFinal(Cipher cipher,
byte[] data) |
static Cipher |
doUpdate(Cipher cipher,
byte[] data) |
static byte[] |
encrypt(String algorithm,
byte[] key,
byte[] data) |
static byte[] |
encrypt(String algorithm,
Key key,
byte[] data) |
static byte[] |
encryptByKeySeed(String algorithm,
byte[] seed,
byte[] data) |
static Cipher |
getCipher(String algorithm) |
static Cipher |
getDecryptCipher(String algorithm,
Key key) |
static IDecryptor |
getDecryptor(Cipher cipher) |
static IDecryptor |
getDecryptor(String algorithm,
Key key) |
static Cipher |
getEncryptCipher(String algorithm,
Key key) |
static IEncryptor |
getEncryptor(Cipher cipher) |
static IEncryptor |
getEncryptor(String algorithm,
Key key) |
public static IEncryptor getEncryptor(String algorithm, Key key)
public static IEncryptor getEncryptor(Cipher cipher)
public static IDecryptor getDecryptor(String algorithm, Key key)
public static IDecryptor getDecryptor(Cipher cipher)
public static byte[] doFinal(Cipher cipher, byte[] data)
public static byte[] encrypt(String algorithm, byte[] key, byte[] data)
public static byte[] encryptByKeySeed(String algorithm, byte[] seed, byte[] data)
public static byte[] decrypt(String algorithm, byte[] key, byte[] data)
public static byte[] decryptByKeySeed(String algorithm, byte[] seed, byte[] data)
Copyright © 2024 fossc. All rights reserved.