/usr/lib/ruby/vendor_ruby/bcrypt.rb is in ruby-bcrypt 3.1.10-1build4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # A Ruby library implementing OpenBSD's bcrypt()/crypt_blowfish algorithm for
# hashing passwords.
module BCrypt
end
if RUBY_PLATFORM == "java"
require 'java'
else
require "openssl"
end
begin
RUBY_VERSION =~ /(\d+.\d+)/
require "#{$1}/bcrypt_ext"
rescue LoadError
require "bcrypt_ext"
end
require 'bcrypt/error'
require 'bcrypt/engine'
require 'bcrypt/password'
|