Added internal buffer for digest result.
Constant renaming