Sha256: 45887d7408d604b98a1276f86b73a4e5b46e50cc841d47840e9ff58574b649f5

Contents?: true

Size: 212 Bytes

Versions: 26

Compression:

Stored size: 212 Bytes

Contents

require 'hmac/hmac'
require 'digest/sha1'

module HMAC
  class SHA1 < Base
    def initialize(key = nil)
      super(Digest::SHA1, 64, 20, key)
    end
    public_class_method :new, :digest, :hexdigest
  end
end

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
ruby-openid-2.9.2 lib/hmac/sha1.rb
ruby-openid-2.9.1 lib/hmac/sha1.rb
ruby-openid-2.8.0 lib/hmac/sha1.rb
ruby-openid-2.7.0 lib/hmac/sha1.rb
ruby-openid-2.6.0 lib/hmac/sha1.rb
pelle-ruby-openid-2.1.8 lib/hmac/sha1.rb
ruby-openid-2.5.0 lib/hmac/sha1.rb
ruby-openid-2.4.0 lib/hmac/sha1.rb
ruby-openid-2.3.0 lib/hmac/sha1.rb
ruby-openid-2.2.3 lib/hmac/sha1.rb
ruby-openid-2.2.2 lib/hmac/sha1.rb
ruby-openid-2.2.1 lib/hmac/sha1.rb
ruby-openid-2.2.0 lib/hmac/sha1.rb
entp-ruby-openid-2.2 lib/hmac/sha1.rb
nov-ruby-openid-2.1.9 lib/hmac/sha1.rb
ruby-openid-2.1.8 lib/hmac/sha1.rb
pelle-ruby-openid-2.1.9 lib/hmac/sha1.rb
ruby-openid-2.1.7 lib/hmac/sha1.rb
ruby-openid-2.0.1 lib/hmac/sha1.rb
ruby-openid-2.0.2 lib/hmac/sha1.rb