René's URL Explorer Experiment


Title: Use constant-time string comparison algorithm. by tylerhunt · Pull Request #43 · bcrypt-ruby/bcrypt-ruby · GitHub

Open Graph Title: Use constant-time string comparison algorithm. by tylerhunt · Pull Request #43 · bcrypt-ruby/bcrypt-ruby

X Title: Use constant-time string comparison algorithm. by tylerhunt · Pull Request #43 · bcrypt-ruby/bcrypt-ruby

Description: bcrypt-ruby is a Ruby binding for the OpenBSD bcrypt() password hashing algorithm, allowing you to easily store a secure hash of your users' passwords. - Use constant-time string comparison algorithm. by tylerhunt · Pull Request #43 · bcrypt-ruby/bcrypt-ruby

Open Graph Description: This borrows the string comparison code from Devise to prevent timing attacks (http://codahale.com/a-lesson-in-timing-attacks/). See #42.

X Description: This borrows the string comparison code from Devise to prevent timing attacks (http://codahale.com/a-lesson-in-timing-attacks/). See #42.

Opengraph URL: https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:adce53a3-638f-fa4f-1b9d-e33ad97fc1e8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id97FE:3E0D60:251B9DB:32EAD84:6A4EE1A3
html-safe-nonce647ee6282ca6f24244f824295260e3f7fab92a8c1fc13243666f1ed20544b4e5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0ZFOjNFMEQ2MDoyNTFCOURCOjMyRUFEODQ6NkE0RUUxQTMiLCJ2aXNpdG9yX2lkIjoiODk3NTc4OTU3MjI3ODM3ODkxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacacf7f7c54cc970fea0043b4640104d688e9a2f66a1609ef9156b0bf943261b0e
hovercard-subject-tagpull_request:1830465
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/bcrypt-ruby/bcrypt-ruby/43/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ddbd73a3dacd4e0951b2395206a5e97cf1108668dd02a4828c04037cf4c23100/bcrypt-ruby/bcrypt-ruby/pull/43
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ddbd73a3dacd4e0951b2395206a5e97cf1108668dd02a4828c04037cf4c23100/bcrypt-ruby/bcrypt-ruby/pull/43
og:image:altThis borrows the string comparison code from Devise to prevent timing attacks (http://codahale.com/a-lesson-in-timing-attacks/). See #42.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametylerhunt
hostnamegithub.com
expected-hostnamegithub.com
Noned12176b31601daf8d3de9a378cbbcf7dac6f33d990d1faedcb9c9b9ff3cbb1ed
turbo-cache-controlno-cache
go-importgithub.com/bcrypt-ruby/bcrypt-ruby git https://github.com/bcrypt-ruby/bcrypt-ruby.git
octolytics-dimension-user_id81594302
octolytics-dimension-user_loginbcrypt-ruby
octolytics-dimension-repository_id15293
octolytics-dimension-repository_nwobcrypt-ruby/bcrypt-ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id15293
octolytics-dimension-repository_network_root_nwobcrypt-ruby/bcrypt-ruby
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release49a1d75361a644bf2b85ea827cc4d0c97ca18701
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbcrypt-ruby%2Fbcrypt-ruby%2Fpull%2F43
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbcrypt-ruby%2Fbcrypt-ruby%2Fpull%2F43
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=bcrypt-ruby%2Fbcrypt-ruby
Reloadhttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
Reloadhttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
Reloadhttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
bcrypt-ruby https://github.com/bcrypt-ruby
bcrypt-rubyhttps://github.com/bcrypt-ruby/bcrypt-ruby
Notifications https://github.com/login?return_to=%2Fbcrypt-ruby%2Fbcrypt-ruby
Fork 289 https://github.com/login?return_to=%2Fbcrypt-ruby%2Fbcrypt-ruby
Star 2k https://github.com/login?return_to=%2Fbcrypt-ruby%2Fbcrypt-ruby
Code https://github.com/bcrypt-ruby/bcrypt-ruby
Issues 16 https://github.com/bcrypt-ruby/bcrypt-ruby/issues
Pull requests 3 https://github.com/bcrypt-ruby/bcrypt-ruby/pulls
Actions https://github.com/bcrypt-ruby/bcrypt-ruby/actions
Projects https://github.com/bcrypt-ruby/bcrypt-ruby/projects
Security and quality 1 https://github.com/bcrypt-ruby/bcrypt-ruby/security
Insights https://github.com/bcrypt-ruby/bcrypt-ruby/pulse
Code https://github.com/bcrypt-ruby/bcrypt-ruby
Issues https://github.com/bcrypt-ruby/bcrypt-ruby/issues
Pull requests https://github.com/bcrypt-ruby/bcrypt-ruby/pulls
Actions https://github.com/bcrypt-ruby/bcrypt-ruby/actions
Projects https://github.com/bcrypt-ruby/bcrypt-ruby/projects
Security and quality https://github.com/bcrypt-ruby/bcrypt-ruby/security
Insights https://github.com/bcrypt-ruby/bcrypt-ruby/pulse
tylerhunthttps://github.com/tylerhunt
bcrypt-ruby:masterhttps://github.com/bcrypt-ruby/bcrypt-ruby/tree/master
tylerhunt:masterhttps://github.com/tylerhunt/bcrypt-ruby/tree/master
Conversationhttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
Commits1 (1)https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43/commits
Checkshttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43/checks
Files changedhttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43/files
Use constant-time string comparison algorithm.https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#top
tylerhunthttps://github.com/tylerhunt
bcrypt-ruby:masterhttps://github.com/bcrypt-ruby/bcrypt-ruby/tree/master
tylerhunt:masterhttps://github.com/tylerhunt/bcrypt-ruby/tree/master
https://github.com/tylerhunt
tylerhunthttps://github.com/tylerhunt
Jul 18, 2012https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issue-5697267
http://codahale.com/a-lesson-in-timing-attacks/http://codahale.com/a-lesson-in-timing-attacks/
#42https://github.com/bcrypt-ruby/bcrypt-ruby/issues/42
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/tylerhunt
Use constant-time string comparison algorithm.https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43/commits/b26e4e3721302fe08085164d234159d33aa3c2af
b26e4e3https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43/commits/b26e4e3721302fe08085164d234159d33aa3c2af
http://codahale.com/a-lesson-in-timing-attacks/http://codahale.com/a-lesson-in-timing-attacks/
https://github.com/tenderlove
tenderlovehttps://github.com/tenderlove
Jul 18, 2012https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-7081329
@embosshttps://github.com/emboss
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Jul 18, 2012https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-7083417
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Jul 18, 2012https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#event-20555050
https://github.com/tylerhunt
tylerhunthttps://github.com/tylerhunt
Jul 18, 2012https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-7083923
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/emboss
embosshttps://github.com/emboss
Jul 18, 2012https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-7084089
@tenderlovehttps://github.com/tenderlove
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Jul 19, 2012https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-7117204
@embosshttps://github.com/emboss
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/emboss
embosshttps://github.com/emboss
Jul 20, 2012https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-7127498
@codahalehttps://github.com/codahale
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Jul 20, 2012https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-7133444
@embosshttps://github.com/emboss
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/btoews
btoewshttps://github.com/btoews
Mar 27, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15557860
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/btoews
btoewshttps://github.com/btoews
Mar 27, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15557863
@eggie5https://github.com/eggie5
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Mar 28, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15566296
@mastahyetihttps://github.com/mastahyeti
Hashcashhttp://en.wikipedia.org/wiki/Hashcash
Bitcoinhttp://en.wikipedia.org/wiki/Bitcoin
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/btoews
btoewshttps://github.com/btoews
Mar 28, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15621870
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Mar 29, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15624859
@mastahyetihttps://github.com/mastahyeti
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Mar 29, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15625417
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/btoews
btoewshttps://github.com/btoews
Apr 2, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15793183
@codahalehttps://github.com/codahale
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Apr 2, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15797932
@mastahyetihttps://github.com/mastahyeti
31 Shapley superclustershttp://en.wikipedia.org/wiki/Shapley_Supercluster
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/btoews
btoewshttps://github.com/btoews
Apr 2, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15799918
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Apr 2, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15801567
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/btoews
btoewshttps://github.com/btoews
Apr 2, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15802290
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Apr 2, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15803151
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/btoews
btoewshttps://github.com/btoews
Apr 2, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15803652
call hash_secret directlyhttps://github.com/search?q=BCrypt%3A%3AEngine.hash_secret&type=Code&ref=searchresults
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/codahale
codahalehttps://github.com/codahale
Apr 2, 2013https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#issuecomment-15804001
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/tarcieri
tarcierihttps://github.com/tarcieri
Sep 25, 2013 https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#ref-pullrequest-20076500
Harden password comparison vs. timing attacks pbhogan/scrypt#15 https://github.com/pbhogan/scrypt/pull/15
https://github.com/jfirebaugh
jfirebaughhttps://github.com/jfirebaugh
Apr 9, 2014 https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#ref-issue-757787
Comparator possibly vulnerable to timing attacks. kelektiv/node.bcrypt.js#13 https://github.com/kelektiv/node.bcrypt.js/issues/13
https://github.com/jfirebaugh
jfirebaughhttps://github.com/jfirebaugh
Jan 5, 2015 https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#ref-issue-53437278
Statistical report for constant time compare tests? kelektiv/node.bcrypt.js#266 https://github.com/kelektiv/node.bcrypt.js/issues/266
https://github.com/ericelliott
ericelliotthttps://github.com/ericelliott
Jan 6, 2015 https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#ref-pullrequest-53402955
Proposed constant time string comparison re #12 ericelliott/credential#13 https://github.com/ericelliott/credential/pull/13
https://github.com/tjschuck
tjschuckhttps://github.com/tjschuck
May 6, 2015 https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#ref-issue-5584255
Timing vulnerability? #42 https://github.com/bcrypt-ruby/bcrypt-ruby/issues/42
https://github.com/tenderlove
tenderlovehttps://github.com/tenderlove
Oct 27, 2015 https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#ref-pullrequest-99493298
Use a constant-time secure comparison for passwords #119 https://github.com/bcrypt-ruby/bcrypt-ruby/pull/119
https://github.com/madblobfish
madblobfishhttps://github.com/madblobfish
Dec 18, 2016 https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#ref-issue-196228261
Crypto::Subtle.constant_time_compare leaks whether size is equal crystal-lang/crystal#3722 https://github.com/crystal-lang/crystal/issues/3722
https://github.com/bcrypt-ruby
bcrypt-rubyhttps://github.com/bcrypt-ruby
May 21, 2017https://github.com/bcrypt-ruby/bcrypt-ruby/pull/43#event-1090866897
https://github.co/hiddenchars
https://github.com/bcrypt-ruby/bcrypt-ruby/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbcrypt-ruby%2Fbcrypt-ruby%2Fpull%2F43
Please reload this pagehttps://github.com/bcrypt-ruby/bcrypt-ruby/pull/43
https://github.com/tylerhunt
https://github.com/tenderlove
https://github.com/codahale
https://github.com/emboss
https://github.com/btoews
https://github.com/eggie5
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.