Skip to content
Advertisement

Tag: sha512

Generating crypt() sha512 hashes in Go

I am working on my authorization module in GoLang. Before we used PHP5 with the crypt function. The hash was generated like SHA-512: And stored like that in the database. But now I need make it work also in GoLang. I have searched on Google and tried different things, such as: But all generate different things. Who can help us

How insecure is a salted SHA1 compared to a salted SHA512

SHA1 is completely insecure and should be replaced. This question is 8+ years old and times have changed: https://arstechnica.com/information-technology/2017/02/at-deaths-door-for-years-widely-used-sha1-function-is-now-dead/ For passwords: https://en.wikipedia.org/wiki/PBKDF2 For data: SHA3 SHA512 is more complex than SHA1, but how much security am I losing by hashing a salted password with SHA1 compared to hashing it with 512? in terms of the time it would take for

Advertisement