A crypto class from https://crackstation.net/hashing-security.htm