Sha256: e29c5a185d6239b7455108063887399903f167f586d6e983fe933b216a6a9ab7

Contents?: true

Size: 188 Bytes

Versions: 5

Compression:

Stored size: 188 Bytes

Contents

module Zhima
  module Sign
    SIGN_METHOD = 'sha1'.freeze

    def self.sign(str)
      Config.mech_rsa.sign(SIGN_METHOD, str)
    end

    # TODO
    def self.verify()
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zhima-0.3.0 lib/zhima/sign.rb
zhima-0.2.6 lib/zhima/sign.rb
zhima-0.2.4 lib/zhima/sign.rb
zhima-0.2.3 lib/zhima/sign.rb
zhima-0.2.2 lib/zhima/sign.rb