class Kount::SecurityMash

Public Class Methods

hash_credit_card(plain_text, ksalt) click to toggle source

DEPRECATED: Use Kount::Khash.hash_payment_token instead.

# File lib/kount/security_mash.rb, line 10
def self.hash_credit_card(plain_text, ksalt)
  warn "[DEPRECATION] use Kount::Khash.hash_payment_token instead"
  Kount::Khash.hash_payment_token(plain_text, ksalt)
end
hash_gift_card(plain_text, ksalt, merchant_id) click to toggle source

DEPRECATED: Use Kount::Khash.hash_gift_card instead.

# File lib/kount/security_mash.rb, line 16
def self.hash_gift_card(plain_text, ksalt, merchant_id)
  warn "[DEPRECATION] use Kount::Khash.has_gift_card instead"
  Kount::Khash.hash_gift_card(plain_text, ksalt, merchant_id)
end
hash_token(_plain_text, _ptyp, _ksalt, _merchant_id = '') click to toggle source

DEPRECATED: This function should not be used. It duplicates the concerns of Kount::Inquiry.fixup_payment_params.

# File lib/kount/security_mash.rb, line 5
def self.hash_token(_plain_text, _ptyp, _ksalt, _merchant_id = '')
    raise "do not use this function, prefer to use Kount::Inquiry.fixup_payment_params"
end
mash(data, len, m) click to toggle source

DEPRECATED: Use Kount::Khash.hash_gift_card instead.

# File lib/kount/security_mash.rb, line 22
def self.mash(data, len, m)
  warn "[DEPRECATION] use Kount::Khash.getkhash instead"
  Kount::Khash.getkhash(data, len, m)
end