Skip to main content

SHA-1 - online function

sha1 ( string $str [, bool $raw_output = FALSE ] ) : string

SHA-1 belong to set of cryptographic hash functions SHA-1 designed by the United States National Security Agency (NSA). It's not recommended to use it for password storage like in case of MD5. SHA-1 was officially deprecated in 2011 and there are also collisions found. In 2017 Google have announced on their security blog, first SHA-1 collision:

https://security.googleblog.com/2017/02/announcing-first-sha1-collision.html

You may also be interested in:

We use cookies on our website to enhance your user experience. We also use Google analytics and ads.

Click here to read more I've read it