Sha256: 7b26511f9b8f96687cfa6197dbbd11904563914d9a7996cf46c92183fff3de51

Contents?: true

Size: 211 Bytes

Versions: 16

Compression:

Stored size: 211 Bytes

Contents

# coding: utf-8
module RockFintech
  module Sign
    module MD5

      def self.sign(content, key)
        md5 = Digest::MD5.new
        md5 << (content + key)
        md5.hexdigest
      end

    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rock_fintech-0.19.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.18.4 lib/rock_fintech/sign/md5.rb
rock_fintech-0.18.1 lib/rock_fintech/sign/md5.rb
rock_fintech-0.17.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.16.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.15.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.14.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.13.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.12.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.11.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.10.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.9.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.8.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.7.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.6.0 lib/rock_fintech/sign/md5.rb
rock_fintech-0.5.0 lib/rock_fintech/sign/md5.rb