The second varient is stupid.
The first only does step 2.
In reply to Re: What's the difference between a hash ? by BrowserUk in thread What's the difference between a hash ? by syphilis