| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static class | ARC4.
ARC4/RC4 key generator. |
| public static class | ARC4.
Factory for basic ARC4/RC4 encryption/decryption operators. |
| public static class | ARC4.
Parameters for ARC4/RC4 cipher modes. |
| Modifier and Type | Field and Description |
|---|---|
| public static final GeneralAlgorithm | ALGORITHM
Raw ARC4 algorithm, can be used for creating general purpose ARC4 keys. |
| private static final ARC4. | |
| public static final ARC4. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static ValidatedSymmetricKey |
| ALGORITHM | back to summary |
|---|---|
| public static final GeneralAlgorithm ALGORITHM Raw ARC4 algorithm, can be used for creating general purpose ARC4 keys. | |
| ENGINE_PROVIDER | back to summary |
|---|---|
| private static final ARC4. | |
| STREAM | back to summary |
|---|---|
| public static final ARC4. | |
| ARC4 | back to summary |
|---|---|
| private ARC4() | |
| invalidKeySize | back to summary |
|---|---|
| private static boolean invalidKeySize(int keyLength) | |
| validateKey | back to summary |
|---|---|
| private static ValidatedSymmetricKey validateKey(SymmetricKey key, Algorithm paramAlgorithm) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ARC4Engine |
| EngineProvider | back to summary |
|---|---|
| private EngineProvider() | |
| createEngine | back to summary |
|---|---|
| public ARC4Engine createEngine() Implements org. | |
| Modifier and Type | Field and Description |
|---|---|
| private final GeneralAlgorithm | |
| private final int | |
| private final SecureRandom |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SymmetricKey | doGenerateKey()
Implements abstract org. |
| algorithm | back to summary |
|---|---|
| private final GeneralAlgorithm algorithm | |
| keySizeInBits | back to summary |
|---|---|
| private final int keySizeInBits | |
| random | back to summary |
|---|---|
| private final SecureRandom random | |
| KeyGenerator | back to summary |
|---|---|
| public KeyGenerator(int keySizeInBits, SecureRandom random) | |
| doGenerateKey | back to summary |
|---|---|
| public SymmetricKey doGenerateKey() Implements abstract org. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected StreamCipher | createCipher(boolean forEncryption, SymmetricKey key, ARC4.
Implements abstract org. |
| OperatorFactory | back to summary |
|---|---|
| public OperatorFactory() | |
| createCipher | back to summary |
|---|---|
| protected StreamCipher createCipher(boolean forEncryption, SymmetricKey key, ARC4. Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Parameters | back to summary |
|---|---|
| pack-priv Parameters() | |