ticket20717 238 B

1234
  1. o Code simplification and refactoring:
  2. - Refactors the hashing API to return negative values for errors as is done
  3. as a standard throughout the codebase.
  4. - Refactors calling functions to expect negative values for errors.