Sha256: 023d5a2732831e85ae040d857e695005e8f69562b3be7b1e794198619ebb4fc3

Contents?: true

Size: 540 Bytes

Versions: 4

Compression:

Stored size: 540 Bytes

Contents

# frozen_string_literal: true

require "prime"
require_relative "sharing/version"
require "hensel_code"

# module secret sharing
module Sharing
  class Error < StandardError; end

  # autoload :CRTAsmuthBloomV2, "sharing/crt_asmuth_bloom_v2"

  # module for polynomial-based features
  module Polynomial
    autoload :Tools, "sharing/polynomial/tools"
    module Shamir
      autoload :V1, "sharing/polynomial/shamir/v1"
    end
  end

  module CRT
    module AsmuthBloom
      autoload :V2, "sharing/crt/asmuth-bloom/v2"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sharing-0.3.0 lib/sharing.rb
sharing-0.2.0 lib/sharing.rb
sharing-0.1.1 lib/sharing.rb
sharing-0.1.0 lib/sharing.rb