4 lines
246 B
Text
4 lines
246 B
Text
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.
|