This commit is contained in:
Looly 2024-01-08 18:06:04 +08:00
parent ab6c3b3efc
commit 1097968126

View File

@ -32,11 +32,6 @@ public class BCCipher implements Cipher, Wrapper<BufferedBlockCipher> {
*/ */
private final BufferedBlockCipher blockCipher; private final BufferedBlockCipher blockCipher;
@Override
public BufferedBlockCipher getRaw() {
return this.blockCipher;
}
/** /**
* 构造 * 构造
* *
@ -46,6 +41,11 @@ public class BCCipher implements Cipher, Wrapper<BufferedBlockCipher> {
this.blockCipher = blockCipher; this.blockCipher = blockCipher;
} }
@Override
public BufferedBlockCipher getRaw() {
return this.blockCipher;
}
@Override @Override
public String getAlgorithmName() { public String getAlgorithmName() {
return this.blockCipher.getUnderlyingCipher().getAlgorithmName(); return this.blockCipher.getUnderlyingCipher().getAlgorithmName();