lib/knapsack_pro/crypto/digestor.rb in knapsack_pro-0.31.0 vs lib/knapsack_pro/crypto/digestor.rb in knapsack_pro-0.32.0

- old
+ new

@@ -1,10 +1,10 @@ module KnapsackPro module Crypto class Digestor - def self.salt_hexdigest(path) + def self.salt_hexdigest(str_to_encrypt) salt = KnapsackPro::Config::Env.salt - str = salt + path + str = salt + str_to_encrypt Digest::SHA2.hexdigest(str) end end end end