How long is the SHA256 hash?

前端 未结 5 1718
梦谈多话
梦谈多话 2020-12-02 05:44

I\'m going to run SHA256 on a password + salt, but I don\'t know how long to make my VARCHAR when setting up the MySQL database. What is a good len

5条回答
  •  没有蜡笔的小新
    2020-12-02 05:52

    Why would you make it VARCHAR? It doesn't vary. It's always 64 characters, which can be determined by running anything into one of the online SHA-256 calculators.

提交回复
热议问题