refactor everything to use generic hashes instead of hard coded sha256
refactor everything to use generic hashes instead of hard coded sha256