incrementHashDigestIterations<State>(state: State, messageLength: number, operation: ((nextState: State) => State)): State
Given a program state, increment the hash digest iteration count for a
message of the provided length. If the total would exceed the maximum, append
an error.
Given a program state, increment the hash digest iteration count for a message of the provided length. If the total would exceed the maximum, append an error.