Sitelet
https://github.com/bcrypt-ruby/bcrypt-ruby/commits/master/spec
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
bcrypt-ruby
/
bcrypt-ruby
Public
Notifications
You must be signed in to change notification settings
Fork
293
Star
2k
Code
Issues
16
Pull requests
9
Actions
Projects
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
bcrypt-ruby
spec
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Dec 31, 2025
Try to deal with flaky tests
Show description for d94041a
tenderlove
committed
d94041a
View commit details
Copy full SHA for d94041a
View code at this point
Browse repository at this point
Commits on Jan 5, 2023
Add a test for passwords with null bytes
Show description for 477f290
tenderlove
committed
477f290
View commit details
Copy full SHA for 477f290
View code at this point
Browse repository at this point
Commits on Jul 8, 2021
test: Simplify password create tests for long secrets
asavageiv
committed
7ed2fa8
View commit details
Copy full SHA for 7ed2fa8
View code at this point
Browse repository at this point
test: Reword hash_secret specs for clarity
asavageiv
committed
7a411ee
View commit details
Copy full SHA for 7a411ee
View code at this point
Browse repository at this point
Truncate based on bytesize instead of number of chars
asavageiv
committed
a848abb
View commit details
Copy full SHA for a848abb
View code at this point
Browse repository at this point
Commits on Jul 7, 2021
Truncate secrets greater than 255 chars in hash_secret
asavageiv
committed
2649bd7
View commit details
Copy full SHA for 2649bd7
View code at this point
Browse repository at this point
Add a test demonstrating passwords >255 chars fail
asavageiv
committed
2cb5382
View commit details
Copy full SHA for 2cb5382
View code at this point
Browse repository at this point
Commits on Mar 2, 2021
Fix a regex in Bcrypt::Password.valid_hash? and Bcrypt::Engine.valid_salt?
kachick
committed
acd7460
View commit details
Copy full SHA for acd7460
View code at this point
Browse repository at this point
Commits on Oct 5, 2020
Make min time difference still x4
Show description for fc652e5
tjschuck
committed
fc652e5
View commit details
Copy full SHA for fc652e5
View code at this point
Browse repository at this point
Merge pull request #223 from bjfish/add-truffleruby-to-ci
Show description for 017d095
tjschuck
authored
017d095
View commit details
Copy full SHA for 017d095
View code at this point
Browse repository at this point
Commits on May 26, 2020
Ensure valid_hash? returns a Boolean
Show description for eb567cb
nathanKramer
committed
eb567cb
View commit details
Copy full SHA for eb567cb
View code at this point
Browse repository at this point
Commits on Apr 14, 2020
Calculate minimum calibration time variably
bjfish
committed
919d584
View commit details
Copy full SHA for 919d584
View code at this point
Browse repository at this point
Commits on Jul 5, 2019
start calibration from the minimum cost supported by the algorithm
sergey-alekseev
committed
27e1689
View commit details
Copy full SHA for 27e1689
View code at this point
Browse repository at this point
Commits on Nov 15, 2018
Add the test vectors from the Java implementation
Show description for 0a9e5c2
tjschuck
committed
0a9e5c2
View commit details
Copy full SHA for 0a9e5c2
View code at this point
Browse repository at this point
Add back in missing chars from Openwall test vectors
Show description for 05c5605
tjschuck
committed
05c5605
View commit details
Copy full SHA for 05c5605
View code at this point
Browse repository at this point
This vector is duplicated — it’s also the last one
Show description for ded1f0a
tjschuck
committed
ded1f0a
View commit details
Copy full SHA for ded1f0a
View code at this point
Browse repository at this point
Commits on Oct 29, 2018
update blowfish imprementation to latest version (1.3)
fonica
committed
d19ea48
View commit details
Copy full SHA for d19ea48
View code at this point
Browse repository at this point
Commits on Jan 9, 2015
Make version attribute a plain String
Show description for f1621d6
mattwildig
committed
f1621d6
View commit details
Copy full SHA for f1621d6
View code at this point
Browse repository at this point
Commits on Jun 23, 2014
Bump rspec to version 3
tjschuck
committed
9926a7b
View commit details
Copy full SHA for 9926a7b
View code at this point
Browse repository at this point
Commits on May 14, 2014
Moves specs to rspec new expectation syntax
brunohenrique
committed
bd4abb4
View commit details
Copy full SHA for bd4abb4
View code at this point
Browse repository at this point
Removes deprecation warnings
Show description for e718c7b
brunohenrique
committed
e718c7b
View commit details
Copy full SHA for e718c7b
View code at this point
Browse repository at this point
Commits on May 4, 2013
Custom getter/setter for BCrypt::Engine.cost
Show description for 882ae87
tjschuck
committed
882ae87
View commit details
Copy full SHA for 882ae87
View code at this point
Browse repository at this point
Commits on May 3, 2013
Allow a default cost to be set externally
Show description for f07a154
tjschuck
committed
f07a154
View commit details
Copy full SHA for f07a154
View code at this point
Browse repository at this point
Commits on Mar 31, 2013
Merge pull request #51 from pda/bcrypt_error
Show description for d2dceb8
tmm1
committed
d2dceb8
View commit details
Copy full SHA for d2dceb8
View code at this point
Browse repository at this point
Merge pull request #53 from trevorturk/master
Show description for 8f30bb8
tmm1
committed
8f30bb8
View commit details
Copy full SHA for 8f30bb8
View code at this point
Browse repository at this point
Add BCrypt::Password.valid_hash?(value) method (closes #48)
Show description for 925671d
bf4
authored and
tmm1
committed
925671d
View commit details
Copy full SHA for 925671d
View code at this point
Browse repository at this point
Commits on Nov 13, 2012
BCrypt::Password cost should be set to DEFAULT_COST if nil
trevorturk
committed
aa9e2bc
View commit details
Copy full SHA for aa9e2bc
View code at this point
Browse repository at this point
Commits on Sep 28, 2012
BCrypt::Errors::* descend from new BCrypt::Error.
Show description for 007857a
pda
committed
007857a
View commit details
Copy full SHA for 007857a
View code at this point
Browse repository at this point
Test that BCrypt errors can be rescued as StandardError.
pda
committed
7a0667d
View commit details
Copy full SHA for 7a0667d
View code at this point
Browse repository at this point
Commits on Sep 12, 2011
raise an exception if the cost is greater than 31. fixes #27
tenderlove
committed
8445c8f
View commit details
Copy full SHA for 8445c8f
View code at this point
Browse repository at this point
Commits on Jun 22, 2011
avoid useless use of == in a void context warnings
tenderlove
committed
c9a89d9
View commit details
Copy full SHA for c9a89d9
View code at this point
Browse repository at this point
Commits on Feb 20, 2011
BCrypt::Engine.valid_salt? returns boolean + spec (closes #19)
Show description for 678c38b
dyba
authored and
tmm1
committed
678c38b
View commit details
Copy full SHA for 678c38b
View code at this point
Browse repository at this point
Commits on Jan 8, 2011
Update to jBCrypt 0.3 to fix security vulnerability (http://www.mindrot.org/projects/jBCrypt/news/rel03.html)
tmm1
committed
92c8e4e
View commit details
Copy full SHA for 92c8e4e
View code at this point
Browse repository at this point
Commits on Dec 20, 2010
Rename Password#hash to #checksum to avoid conflicts with String#hash (closes #1)
tmm1
committed
5a21446
View commit details
Copy full SHA for 5a21446
View code at this point
Browse repository at this point
BCrypt::Password#salt should return a String (closes #10)
tmm1
committed
374e18b
View commit details
Copy full SHA for 374e18b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.