Skip to content

.Compare() returns true for empty string #12

@pimbrouwers

Description

@pimbrouwers

First off, great library. Thanks so much for putting this together and for all the efforts I know must've gone into this.

Noticed something interesting today. If running a comparison of a previously hashed password against a string.empty the operation returns true.

Ex:

cryptoService.Compare(potentialUser.Password, string.Empty) == true;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions