Reset digest instance before generating derived bytes