de.schlichtherle.truezip.crypto.BufferedPartialBlockCipher Maven / Gradle / Ivy
/*
* Copyright (C) 2005-2015 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package de.schlichtherle.truezip.crypto;
import org.bouncycastle.crypto.BlockCipher;
import org.bouncycastle.crypto.BufferedBlockCipher;
/**
* A buffered block cipher which allows a partial block when calling
* {@link #doFinal(byte[], int)}.
*
* @author Christian Schlichtherle
*/
public final class BufferedPartialBlockCipher extends BufferedBlockCipher {
public BufferedPartialBlockCipher(BlockCipher cipher) {
super(cipher);
partialBlockOkay = true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy