module TSS

Threshold Secret Sharing

@author Glenn Rempe <glenn@rempe.us>

Constants

C
MAX_SECRET_SIZE

Defined in TSS spec, two less than 2^16

MAX_UNPADDED_SECRET_SIZE

Max size minus up to 16 bytes PKCS#7 padding and 32 bytes of cryptographic hash

PADDING_BLOCK_SIZE_BYTES

When applying PKCS#7 padding, what block size in bytes should be used

VERSION

Public Class Methods

combine(opts) click to toggle source
# File lib/tss/tss.rb, line 125
def self.combine(opts)
  TSS::Combiner.new(opts).combine
end
split(opts) click to toggle source
# File lib/tss/tss.rb, line 77
def self.split(opts)
  TSS::Splitter.new(opts).split
end