shamir icon indicating copy to clipboard operation
shamir copied to clipboard

Shamir secret sharing (and recovery)

Build Status

Shamir

Pure Erlang implementation of Shamir Secret Sharing.

Example Usage

1> Shares = shamir:share(<<"hello">>, 3, 4).
... shares printed here
2> shamir:recover(lists:sublist(Shares, 3).
<<"hello">>