public static class AES.BouncyCastleBlockCipherFactory extends java.lang.Object implements BlockCipherFactory
Constructor and Description |
---|
BouncyCastleBlockCipherFactory() |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.crypto.BlockCipher |
createBlockCipher(int keySize)
Initializes a new BlockCipher instance.
|
public org.bouncycastle.crypto.BlockCipher createBlockCipher(int keySize) throws java.lang.Exception
createBlockCipher
in interface BlockCipherFactory
keySize
- AES key size (16, 24, 32 bytes)java.lang.Exception
- if anything goes wrong while initializing a new
BlockCipher instance
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.