A swift implementation of Shamir's Secret Sharing over GF(2^8)


A pure Swift implementation of Shamir's Secret Sharing scheme.

A threshold secret sharing scheme to split data into N secret shares such that at least K secret shares must be combined to reconstruct the data.

This is scheme is information-theortic secure; An adversary with K-1 or fewer secret shares would produce any data with equal probability, meaning fewer than K-1 shares reveal nothing about the secret data.

built at

Krypton generates and stores an SSH + PGP key pair on a mobile phone. The Krypton app is paired with one or more workstations by scanning a QR code presented in the terminal. When using SSH from a paired workstation, the workstation requests a private key signature from the phone. The user then receives a notification and chooses whether to allow the SSH login.

For more information, check out


  • Swift Tools 4.0.0
View More Packages from this Author


  • None
Last updated: Tue Nov 08 2022 19:09:37 GMT-0500 (GMT-05:00)