A
A
alexandCmyk2017-01-20 10:08:13
MySQL
alexandCmyk, 2017-01-20 10:08:13

What data type to use for SHA1?

It is necessary to store hashes in the database (sha-1)
What type of data should be used for this and the length?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2017-01-20
@alexandCmyk

Look at the hash.
da39a3ee5e6b4b0d3255bfef95601890afd80709
(var)char(40)
stackoverflow.com/a/614483/1603055

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question