| 限定符和类型 | 字段和说明 |
|---|---|
protected javax.crypto.Cipher |
cipher |
protected java.lang.String |
transformation |
| 构造器和说明 |
|---|
BaseCipher(java.lang.String transformation) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract byte[] |
decrypt(byte[] data) |
protected byte[] |
decrypt(java.security.Key key,
byte[] input) |
protected byte[] |
decrypt(java.security.Key key,
byte[] input,
java.security.AlgorithmParameters params) |
protected byte[] |
decrypt(java.security.Key key,
byte[] input,
java.security.spec.AlgorithmParameterSpec params) |
byte[] |
decryptAsBase64(byte[] data) |
java.lang.String |
decryptAsBase64(java.lang.String data) |
protected abstract byte[] |
encrypt(byte[] data) |
protected byte[] |
encrypt(java.security.Key key,
byte[] input) |
protected byte[] |
encrypt(java.security.Key key,
byte[] input,
java.security.AlgorithmParameters params) |
protected byte[] |
encrypt(java.security.Key key,
byte[] input,
java.security.spec.AlgorithmParameterSpec params) |
byte[] |
encryptAsBase64(byte[] data) |
java.lang.String |
encryptAsBase64(java.lang.String data) |
protected java.lang.String transformation
protected javax.crypto.Cipher cipher
protected byte[] encrypt(java.security.Key key,
byte[] input)
protected byte[] encrypt(java.security.Key key,
byte[] input,
java.security.AlgorithmParameters params)
protected byte[] encrypt(java.security.Key key,
byte[] input,
java.security.spec.AlgorithmParameterSpec params)
protected byte[] decrypt(java.security.Key key,
byte[] input)
protected byte[] decrypt(java.security.Key key,
byte[] input,
java.security.AlgorithmParameters params)
protected byte[] decrypt(java.security.Key key,
byte[] input,
java.security.spec.AlgorithmParameterSpec params)
protected abstract byte[] encrypt(byte[] data)
public byte[] encryptAsBase64(byte[] data)
public java.lang.String encryptAsBase64(java.lang.String data)
protected abstract byte[] decrypt(byte[] data)
public byte[] decryptAsBase64(byte[] data)
public java.lang.String decryptAsBase64(java.lang.String data)