Class: Kount::SecurityMash
- Inherits:
-
Object
- Object
- Kount::SecurityMash
- Defined in:
- lib/kount/security_mash.rb
Class Method Summary collapse
-
.hash_credit_card(plain_text, ksalt) ⇒ Object
DEPRECATED: Use Kount::Khash.hash_payment_token instead.
-
.hash_gift_card(plain_text, ksalt, merchant_id) ⇒ Object
DEPRECATED: Use Kount::Khash.hash_gift_card instead.
-
.hash_token(_plain_text, _ptyp, _ksalt, _merchant_id = '') ⇒ Object
DEPRECATED: This function should not be used.
-
.mash(data, len, m) ⇒ Object
DEPRECATED: Use Kount::Khash.hash_gift_card instead.
Class Method Details
.hash_credit_card(plain_text, ksalt) ⇒ Object
DEPRECATED: Use Kount::Khash.hash_payment_token instead.
10 11 12 13 |
# 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) ⇒ Object
DEPRECATED: Use Kount::Khash.hash_gift_card instead.
16 17 18 19 |
# 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 = '') ⇒ Object
DEPRECATED: This function should not be used. It duplicates the concerns of Kount::Inquiry.fixup_payment_params.
5 6 7 |
# 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 |