Files
2026-10-04 04:07:15 +00:00

5 lines
246 B
Plaintext

securecompare borrows the secure_compare private method from
ActiveSupport::MessageVerifier which lets you do safely compare strings without
being vulnerable to timing attacks. Useful for Basic HTTP Authentication in your
rack/rails application.