saveState method
Saves the current hash computation state into a serializable state object.
Implementation
List<int> saveState() {
if (_finished) {
throw CryptoException.failed(
"Keccack.saveState",
reason: "State was finished.",
);
}
return _state.sublist(0, _pos);
}