Module: FFaker::Crypto

Extended by:
Crypto, ModuleUtils
Included in:
Crypto
Defined in:
lib/ffaker/crypto.rb

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, luhn_check, underscore, unique

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

Instance Method Details

#sha256Object



10
11
12
# File 'lib/ffaker/crypto.rb', line 10

def sha256
  OpenSSL::Digest::SHA256.hexdigest(Lorem.characters)
end