added hashing, using @GravityScores SHA256 implementation