Add missing type check
Add missing type check
Implement hash functions receiving string arguments