Some hashing and encryption helpers and stuff