Sha256: f676b1acb32763a15ebd161658618427024f390fd7f977ae6c5444ebed58d0b3
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
require 'passrock' require 'benchmark' require 'dotenv' Dotenv.load PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '../')) passrock_db = Passrock::PasswordDb.new(:password_db => ENV['PASSROCK_PASSWORD_DB'], :private_key => ENV['PASSROCK_PRIVATE_KEY']) Benchmark.bm do |x| x.report("#find_by_binary_search\n") { puts "Password secure? #{passrock_db.secure?('password')}" } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
passrock-0.0.8 | benchmark/binary_search_test.rb |