Janiczek/elm-secret-sharing/2.0.1

Secret.Key

type alias Key =
Key

A key used to reconstruct the secret.

Can be thought of as a set of points on a given x = constant vertical line.

fromList : ( Int, List Int ) -> Key

Construct a Key from a list of points on a vertical line.

Mostly useful for deserialization.

In case you want to create these by hand, note the integers in the list must be in the 0-255 range, and the first integer in the tuple must be greater than 0.

toList : Key -> ( Int, List Int )

Convert a Key to a list of points on a vertical line.

Mostly useful for serialization.