cleanSavedState method

void cleanSavedState(
  1. dynamic savedState
)

Clean up and reset the saved state of the hash object to its initial state. This function erases the buffer and sets the state and length to the default values. It is used to ensure that a previously saved hash state is cleared and ready for reuse.

savedState: The hash state to be cleaned and reset.

Implementation

void cleanSavedState(dynamic savedState) {
  zero(savedState);
}