blob: 530a6f5fca0b178f2198356904df04f95a65f279 (
plain) (
blame)
1
2
3
4
|
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.
|