public final class TwofishCipher
extends org.opendof.core.oal.security.DOFCipher
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] ciphertext) |
byte[] |
encrypt(byte[] plaintext) |
int |
getBlockSize() |
static void |
register() |
public static void register()
public int getBlockSize()
getBlockSize in class org.opendof.core.oal.security.DOFCipherpublic byte[] encrypt(byte[] plaintext)
throws org.opendof.core.oal.security.DOFSecurityException
encrypt in class org.opendof.core.oal.security.DOFCipherorg.opendof.core.oal.security.DOFSecurityExceptionpublic byte[] decrypt(byte[] ciphertext)
throws org.opendof.core.oal.security.DOFSecurityException
decrypt in class org.opendof.core.oal.security.DOFCipherorg.opendof.core.oal.security.DOFSecurityException