Refactoring
Changed hash algorithm to MD5