{"id":93307,"library":"fast-secure-compare","title":"Fast Secure Compare","description":"A secure_comparison function implemented in C for blazing speed. Includes monkeypatch for Rails and Rack.","status":"active","version":"1.0.1","language":"ruby","source_language":null,"source_url":"https://github.com/daxtens/fast_secure_compare","tags":["security","comparison","c-extension"],"install":[{"cmd":"gem install fast_secure_compare","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'fast_secure_compare', '~> 1.0.1'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"FastSecureCompare","correct":"require 'fast_secure_compare'"}],"quickstart":{"code":"require 'fast_secure_compare'\n\nFastSecureCompare.secure_compare('abc123', 'abc123') # => true","lang":"ruby","description":"Compare two strings in constant time"},"warnings":[{"fix":"Load the library with require 'fast_secure_compare/no_monkeypatches' to avoid patching.","message":"Monkeypatches Rails and Rack by default, which may cause unexpected behavior.","severity":"gotcha","affected_versions":">= 1.0.0"}],"env_vars":null,"search_vec":"'blaze':12 'c':10,23 'c-extens':22 'compar':3 'comparison':6,21 'extens':24 'fast':1 'function':7 'implement':8 'includ':14 'monkeypatch':15 'rack':19 'rail':17 'secur':2,5,20 'speed':13","created_at":"2026-06-19T09:46:04.798394+00:00","updated_at":"2026-06-19T09:46:04.798394+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/daxtens/fast_secure_compare","github":"https://github.com/daxtens/fast_secure_compare","docs":"http://www.rubydoc.info/gems/fast_secure_compare/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}