Skip to main content
Code Review

Return to Answer

replaced http://us1.php.net with https://www.php.net
Source Link

md5 usage may be okay on small projects, but it's generally considered weak and shouldn't be used. As of the MD5 wikipedia page:

The security of the MD5 hash function is severely compromised.

and http://us1.php.net/md5 https://www.php.net/md5

It is not recommended to use this function to secure passwords, due to the fast nature of this hashing algorithm.

(削除) So perhaps you should look into PHP's other hashing methods, say hash() itself. You can read more here: http://us1.php.net/manual/en/function.hash.php https://www.php.net/manual/en/function.hash.php (削除ここまで)

Important Edit:

I read a little bit more and I am incorrect! The hash method is okay. It's not great like bcrypt! I highly suggest you read both of these and understand them, I'm sure it will come in handy later on! https://security.stackexchange.com/questions/17421/how-to-store-salt and https://security.stackexchange.com/questions/211/how-to-securely-hash-passwords. And directly relating to PHP, http://us1.php.net/manual/en/function.password-hash.php https://www.php.net/manual/en/function.password-hash.php

md5 usage may be okay on small projects, but it's generally considered weak and shouldn't be used. As of the MD5 wikipedia page:

The security of the MD5 hash function is severely compromised.

and http://us1.php.net/md5

It is not recommended to use this function to secure passwords, due to the fast nature of this hashing algorithm.

(削除) So perhaps you should look into PHP's other hashing methods, say hash() itself. You can read more here: http://us1.php.net/manual/en/function.hash.php (削除ここまで)

Important Edit:

I read a little bit more and I am incorrect! The hash method is okay. It's not great like bcrypt! I highly suggest you read both of these and understand them, I'm sure it will come in handy later on! https://security.stackexchange.com/questions/17421/how-to-store-salt and https://security.stackexchange.com/questions/211/how-to-securely-hash-passwords. And directly relating to PHP, http://us1.php.net/manual/en/function.password-hash.php

md5 usage may be okay on small projects, but it's generally considered weak and shouldn't be used. As of the MD5 wikipedia page:

The security of the MD5 hash function is severely compromised.

and https://www.php.net/md5

It is not recommended to use this function to secure passwords, due to the fast nature of this hashing algorithm.

(削除) So perhaps you should look into PHP's other hashing methods, say hash() itself. You can read more here: https://www.php.net/manual/en/function.hash.php (削除ここまで)

Important Edit:

I read a little bit more and I am incorrect! The hash method is okay. It's not great like bcrypt! I highly suggest you read both of these and understand them, I'm sure it will come in handy later on! https://security.stackexchange.com/questions/17421/how-to-store-salt and https://security.stackexchange.com/questions/211/how-to-securely-hash-passwords. And directly relating to PHP, https://www.php.net/manual/en/function.password-hash.php

replaced http://security.stackexchange.com/ with https://security.stackexchange.com/
Source Link

md5 usage may be okay on small projects, but it's generally considered weak and shouldn't be used. As of the MD5 wikipedia page:

The security of the MD5 hash function is severely compromised.

and http://us1.php.net/md5

It is not recommended to use this function to secure passwords, due to the fast nature of this hashing algorithm.

(削除) So perhaps you should look into PHP's other hashing methods, say hash() itself. You can read more here: http://us1.php.net/manual/en/function.hash.php (削除ここまで)

Important Edit:

I read a little bit more and I am incorrect! The hash method is okay. It's not great like bcrypt! I highly suggest you read both of these and understand them, I'm sure it will come in handy later on! http://security.stackexchange.com/questions/17421/how-to-store-salt https://security.stackexchange.com/questions/17421/how-to-store-salt and http://security.stackexchange.com/questions/211/how-to-securely-hash-passwords https://security.stackexchange.com/questions/211/how-to-securely-hash-passwords. And directly relating to PHP, http://us1.php.net/manual/en/function.password-hash.php

md5 usage may be okay on small projects, but it's generally considered weak and shouldn't be used. As of the MD5 wikipedia page:

The security of the MD5 hash function is severely compromised.

and http://us1.php.net/md5

It is not recommended to use this function to secure passwords, due to the fast nature of this hashing algorithm.

(削除) So perhaps you should look into PHP's other hashing methods, say hash() itself. You can read more here: http://us1.php.net/manual/en/function.hash.php (削除ここまで)

Important Edit:

I read a little bit more and I am incorrect! The hash method is okay. It's not great like bcrypt! I highly suggest you read both of these and understand them, I'm sure it will come in handy later on! http://security.stackexchange.com/questions/17421/how-to-store-salt and http://security.stackexchange.com/questions/211/how-to-securely-hash-passwords. And directly relating to PHP, http://us1.php.net/manual/en/function.password-hash.php

md5 usage may be okay on small projects, but it's generally considered weak and shouldn't be used. As of the MD5 wikipedia page:

The security of the MD5 hash function is severely compromised.

and http://us1.php.net/md5

It is not recommended to use this function to secure passwords, due to the fast nature of this hashing algorithm.

(削除) So perhaps you should look into PHP's other hashing methods, say hash() itself. You can read more here: http://us1.php.net/manual/en/function.hash.php (削除ここまで)

Important Edit:

I read a little bit more and I am incorrect! The hash method is okay. It's not great like bcrypt! I highly suggest you read both of these and understand them, I'm sure it will come in handy later on! https://security.stackexchange.com/questions/17421/how-to-store-salt and https://security.stackexchange.com/questions/211/how-to-securely-hash-passwords. And directly relating to PHP, http://us1.php.net/manual/en/function.password-hash.php

Security update, check the in-post edit!
Source Link
Alex L
  • 5.8k
  • 2
  • 26
  • 69

md5 usage may be okay on small projects, but it's generally considered weak and shouldn't be used. As of the MD5 wikipedia page:

The security of the MD5 hash function is severely compromised.

and http://us1.php.net/md5

It is not recommended to use this function to secure passwords, due to the fast nature of this hashing algorithm.

So perhaps(削除) So perhaps you should look into PHP's other hashing methods, say hash() itself. You can read more here: http://us1.php.net/manual/en/function.hash.php (削除ここまで)

Important Edit:

I read a little bit more and I am incorrect! The hash method is okay. It's not great like bcrypt! I highly suggest you should look into PHP's other hashing methodsread both of these and understand them, sayI'm sure it will come in handy later on! hash() itselfhttp://security.stackexchange.com/questions/17421/how-to-store-salt and http://security.stackexchange.com/questions/211/how-to-securely-hash-passwords. You can read more here:And directly relating to PHP, http://us1.php.net/manual/en/function.hash.php http://us1.php.net/manual/en/function.password-hash.php

md5 usage may be okay on small projects, but it's generally considered weak and shouldn't be used. As of the MD5 wikipedia page:

The security of the MD5 hash function is severely compromised.

and http://us1.php.net/md5

It is not recommended to use this function to secure passwords, due to the fast nature of this hashing algorithm.

So perhaps you should look into PHP's other hashing methods, say hash() itself. You can read more here: http://us1.php.net/manual/en/function.hash.php

md5 usage may be okay on small projects, but it's generally considered weak and shouldn't be used. As of the MD5 wikipedia page:

The security of the MD5 hash function is severely compromised.

and http://us1.php.net/md5

It is not recommended to use this function to secure passwords, due to the fast nature of this hashing algorithm.

(削除) So perhaps you should look into PHP's other hashing methods, say hash() itself. You can read more here: http://us1.php.net/manual/en/function.hash.php (削除ここまで)

Important Edit:

I read a little bit more and I am incorrect! The hash method is okay. It's not great like bcrypt! I highly suggest you read both of these and understand them, I'm sure it will come in handy later on! http://security.stackexchange.com/questions/17421/how-to-store-salt and http://security.stackexchange.com/questions/211/how-to-securely-hash-passwords. And directly relating to PHP, http://us1.php.net/manual/en/function.password-hash.php

Source Link
Alex L
  • 5.8k
  • 2
  • 26
  • 69
Loading
lang-php

AltStyle によって変換されたページ (->オリジナル) /