public class BlockCipher extends Object
| Modifier | Constructor and Description |
|---|---|
private |
BlockCipher() |
| Modifier and Type | Method and Description |
|---|---|
static org.bouncycastle.crypto.modes.AEADBlockCipher |
getInstance() |
static byte[] |
getIV()
Generates a non-predictable initialization vector
|
static org.bouncycastle.crypto.modes.AEADBlockCipher |
getNewCipher(AeroGearCrypto.Mode blockMode)
Retrieve a new instance of the block mode provided
|
public static org.bouncycastle.crypto.modes.AEADBlockCipher getInstance()
public static org.bouncycastle.crypto.modes.AEADBlockCipher getNewCipher(AeroGearCrypto.Mode blockMode)
blockMode - block mode namepublic static byte[] getIV()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.