Skip to content

daggilli/secretshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SECRETSHARE

An implementation of a secret-sharing scheme using Lagrange interpolation

Introduction

This project implements a secret-sharing algorithm. It is an (m, k) scheme, wherein a block of data is split into m chunks, such that at least k chunks are required to reconstitute the original data, but any fewer will yield no information about its contents.

The implementation uses arithmetic in a Galois field, specifically GF(256), with the field operations being Conway's Nym addition and multiplication. This permits the necessary operations to be performed in a much more efficient way. The number theoretic code is adapted from work by David Madore david.madore@ens.fr.

The secret-sharing code itself is a header-only library. Included is a command-line application which can be used to split and recombine files.

Usage

The low-level operations to split and join memory buffers are in secretshare.hpp.

About

A C++ library to perform secret sharing via Lagrange interpolating polynomials

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages