Sha256: f3ab9729cbfb5b598cfab2d8b258c94ca4a029ffb380b3f7979dcfff6fd4ec94
Contents?: true
Size: 276 Bytes
Versions: 23
Compression:
Stored size: 276 Bytes
Contents
# frozen_string_literal: true module KnapsackPro module Crypto class Digestor def self.salt_hexdigest(str_to_encrypt) salt = KnapsackPro::Config::Env.salt str = salt + str_to_encrypt Digest::SHA2.hexdigest(str) end end end end
Version data entries
23 entries across 23 versions & 1 rubygems