Hacker News new | ask | show | jobs
by Freaky 4044 days ago
For Ruby you should be using ActiveSupport::SecurityUtils.secure_compare or similar.

In theory openssl could return a String-like object with an overridden ==, but it doesn't.