Dependency injected hashing algorithms

- Added support for injecting hashing algorithms used in hashing
passwords and other sensitive data.