php hash form string to integer

前端 未结 3 833
死守一世寂寞
死守一世寂寞 2020-12-17 15:34

Does PHP have a built in function for doing string to integer hashes, something that\'s difficult to reverse?

Now, I know I can probably get away with doing an md5,

3条回答
  •  一生所求
    2020-12-17 15:55

    I don't think you will find anything builtin for that, but your idea with md5() is pretty good, actually. I couldn't imagine why you would need something else: couldn't be faster, couldn't be more stable, ...

提交回复
热议问题