one way SHA1 hash javascript implementation?

后端 未结 3 1868
野性不改
野性不改 2020-12-16 06:24

I have a server that is not using SSL, so I\'m trying to find a way to secure the data being passed to the server. My first thought was jCryption, but it is not exactly what

相关标签:
3条回答
  • 2020-12-16 07:05

    I think that's what you're looking for: http://phpjs.org/functions/sha1:512

    0 讨论(0)
  • 2020-12-16 07:17

    Try the Stanford Crypto library. It's pretty comprehensive but if you just need a single hashing function you can extract it from the core (it has sha1 and 256).

    Refer This

    0 讨论(0)
  • 2020-12-16 07:29

    You shouldn't be using SHA1 to do your hashing anymore, since it's been broken for a while. Try SHA256.

    0 讨论(0)
提交回复
热议问题