Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.
This repository was archived by the owner on May 16, 2023. It is now read-only.

Do not use unsalted SHA1 for password hash #190

@iggyvolz

Description

@iggyvolz

return sha1($text);

At very least use sha256. Better yet - use the password_hash and password_verify functions (PHP 5.5+, all the supported versions of PHP, back to 5.3.7 with https://github.com/ircmaxell/password_compat) which computes a salt for you and puts it in the database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions