I am producing digesting MD5 with Python:
import hashlib M = hashlib .m5 () md5 = m.update ('some_string') returns md5.digest ()
Now, I see that you should use the type. However, I am planning to use these snapets, although I am opening it to modify it. Should I send anything to DB and know that I have a type of bitea? Will this be the right way to store it properly? There can be an unnecessary question, but I wanted to make sure that I am just storing the MD5s of files and planning to use hash as a unique identifier; nothing important.
No comments:
Post a Comment