Sha256: 58c9f2f4796caaba73146c0ce12005909d9fa3387a64ff0716c0bcbc2698ecd7
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
require 'fernet/version' require 'fernet/bit_packing' require 'fernet/encryption' require 'fernet/token' require 'fernet/generator' require 'fernet/verifier' require 'fernet/secret' require 'fernet/configuration' Fernet::Configuration.run module Fernet def self.generate(secret, message = '', opts = {}, &block) Generator.new(opts.merge({secret: secret, message: message})). generate(&block) end def self.verifier(secret, token, opts = {}) Verifier.new(opts.merge({secret: secret, token: token})) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fernet-2.0.rc1 | lib/fernet.rb |