public class RSAHashCryptor extends AbstractRSACryptor
| 构造器和说明 |
|---|
RSAHashCryptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
decrypt(byte[] input,
Key dk)
decrypt the cipher use decrypt key
|
void |
decrypt(InputStream input,
Key dk,
OutputStream output) |
byte[] |
encrypt(byte[] input,
int length,
Key ek)
(origin ⊕ passwd) ⊕ passwd = origin
|
void |
encrypt(InputStream input,
Key ek,
OutputStream output) |
int |
getCipherBlockSize(RSAKey rsaKey) |
int |
getOriginBlockSize(RSAKey rsaKey) |
generateKey, generateKey, getExponent, toStringpublic byte[] encrypt(byte[] input,
int length,
Key ek)
encrypt 在类中 AbstractRSACryptorinput - length - ek - public byte[] decrypt(byte[] input,
Key dk)
Cryptordecrypt 在类中 AbstractRSACryptorpublic void encrypt(InputStream input, Key ek, OutputStream output)
encrypt 在类中 AbstractRSACryptorpublic void decrypt(InputStream input, Key dk, OutputStream output)
decrypt 在类中 AbstractRSACryptorpublic int getOriginBlockSize(RSAKey rsaKey)
getOriginBlockSize 在类中 AbstractRSACryptorpublic int getCipherBlockSize(RSAKey rsaKey)
getCipherBlockSize 在类中 AbstractRSACryptorCopyright © 2023. All rights reserved.