I\'m trying to generate a SHA1 hash on some hex data based on a specific pre-set state. In other words, I need to set the engine state to a custom value before generat