Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

length for bcrypt type works not as expected #18

Open
burningTyger opened this issue Apr 17, 2011 · 0 comments
Open

length for bcrypt type works not as expected #18

burningTyger opened this issue Apr 17, 2011 · 0 comments

Comments

@burningTyger
Copy link
Contributor

length refers to the encrypted string and not the input string. so setting a property to :lenght => 3..200 will not work because the brcypt string, whatever the input string was, will succeed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant