I allow users to upload images to my website. Some of these images have spaces in the name and stuff, and I want to avoid that altogether. Therefore, I want to hash the name of the image.
Is there a hash function that comes with javascript? I would rather not write my own, so should I consider writing/obtaining an md5 hash? Is there something built-in that I could use instead?