public SkeinMac(SkeinMac mac) { this.engine = new SkeinEngine(mac.engine); }
/** * Constructs a Skein MAC with an internal state size and output size. * * @param stateSizeBits the internal state size in bits - one of {@link #SKEIN_256}, {@link #SKEIN_512} or * {@link #SKEIN_1024}. * @param digestSizeBits the output/MAC size to produce in bits, which must be an integral number of bytes. */ public SkeinMac(int stateSizeBits, int digestSizeBits) { this.engine = new SkeinEngine(stateSizeBits, digestSizeBits); }