Small example that allows you to calculate the MD5 and SHA1 hashes if JavaScript