Comparing large strings in JavaScript with a hash

前端 未结 3 1588
小蘑菇
小蘑菇 2021-02-05 17:26

I have a form with a textarea that can contain large amounts of content (say, articles for a blog) edited using one of a number of third party rich text editors. I\'m trying to

3条回答
  •  無奈伤痛
    2021-02-05 18:03

    An MD5 hash is often used to verify the integrity of a file or document; it should work for your purposes. Here's a good article on generating an MD5 hash in Javascript.

提交回复
热议问题