public OldSHA512() { super(new OldHMac(new SHA512Digest())); }
public OldSHA384() { super(new OldHMac(new SHA384Digest())); }
@Override public MACCalculator _createMACCalculator() { final SHA384Digest digest = new SHA384Digest(); return new MACCalculatorImpl(new OldHMac(digest), digest.getDigestSize(), 0); // IV not supported - throws exception when passing ParameterWithIV }
@Override public MACCalculator _createMACCalculator() { final SHA512Digest digest = new SHA512Digest(); return new MACCalculatorImpl(new OldHMac(digest), digest.getDigestSize(), 0); // IV not supported - throws exception when passing ParameterWithIV }