3 ms·
For Ruby you should be using ActiveSupport::SecurityUtils.secure_compare or similar. In theory openssl could return a String-like object with an overridden ==,
by Freaky 11y 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.