Added a hash generator for key/locks, not needed but it seemed like it'd be fun