use password helper in modified environments
Add test case for hash calculations
Use ring for sha256 calculation