Sha256: 2e468b7278f29795c86a1efef001acf5d05b34a884b72bb2223e1b48d7c9809a
Contents?: true
Size: 407 Bytes
Versions: 9
Compression:
Stored size: 407 Bytes
Contents
require 'digest' module GenesisRuby module Utils module Threeds # Threeds V2 Utils class V2 class << self # Generate 3DSV2 signature def generate_signature(unique_id:, amount:, timestamp:, merchant_password:) Digest::SHA512.hexdigest "#{unique_id}#{amount}#{timestamp}#{merchant_password}" end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems