public Kmac(ICSHAKEWrapper iCSHAKE, int capacity, bool xof) { // Guard against invalid capacities if (capacity != 512 && capacity != 256) { throw new ArgumentOutOfRangeException(nameof(capacity)); } _iCSHAKE = iCSHAKE; _capacity = capacity; _xof = xof; }
public KmacFactory(ICSHAKEWrapper iCSHAKEWrapper) { _iCSHAKEWrapper = iCSHAKEWrapper; }