Starting to change to something more hashlib-like.