commonplace
  • Commonplace
  • AWS
    • Control Tower
      • Building a Scalable and Secure Multi-VPC AWS Network Infrastructure
    • Talks / Articles
      • Encrypting Everything with AWS (SEP402)
      • The Tension Between Absolutes & Ambiguity in Security (SEC310)
      • Best practices for authoring AWS CloudFormation (DOP302-R1)
    • Useful Links
    • Notes
      • awscli
      • Cloudformation
        • Using Parameters
  • Infrastructure Security
    • Amazon Web Services
      • Tools
    • Tools
  • Security
    • Articles
      • If You're Not Doing Continuous Asset Management You're Not Doing Security | Daniel Miessler
      • Living Off the Land
        • Living Off The Land: Part 2
    • Cryptography
      • Shamir Secret Sharing Algorithm
    • Distros
      • REMnux
    • DoD
    • Email
    • GPG
    • Shodan
    • SSH
  • Resources
    • AWS Toolbox
    • CTF
      • AWS
    • Dev Setup
      • Windows Terminal
    • Documentation
      • MOCK Press Release Template
      • Design Document Template
    • Docker
      • Notes
      • Configure Docker w/TLS for WSL
    • Kubernetes
      • Raspberry Pi 4 (4GB) Cluster
    • Linux
      • zsh config
      • Users and Groups
    • Python
      • AWS
        • Lambda
      • Random Strings
    • Security News
    • Tools
    • Unity SSDLC
    • vscode
      • Cloudformation
    • Windows
      • WSL2
        • Scratchpad
        • Install a GUI (xfce)
        • Creating Additional WSL2 Instances
    • Youtubers
      • youtube-dl snippets
  • Lab
    • Building a Better Workstation
      • Notes / Guide
  • Misc
    • Notes
      • youtube-dl
  • Recipes
Powered by GitBook
On this page

Was this helpful?

  1. Security
  2. Cryptography

Shamir Secret Sharing Algorithm

Embrace your inner Voldemort

PreviousCryptographyNextDistros

Last updated 4 years ago

Was this helpful?

Breaking a secret in x number of shares but only requiring y number of shares to reassemble the secret.

Demo:

Assemble any 3 of the below 5 to recover the secret

  1. 801c85dea41fa57b2a63420ba750aa68a2f76ec58fac96c3cd5758e0feefcccef0f835ff8954238d2117d61c0d18c7660427b8243ca4c42c9cdce18b5a5ee80e4466bb0226e0c8e5c49269b2b65f4e1978ebdcbb0616a8bb5118c1f2d6fd1feff6a01652877846e1b34c4534c4acd3b01a79dae3560c9696a0db4ffcf6c4ae9aaab

  2. 8027136a0c2e718b80b8366633995b8e77f4fbdd4f8e2883a054edc22bba3f3e41167266ee732ded5eb31d1ecbf0fc305bb6639a8a0db9aa10319fbb2f5955131bff8ce681f1efa2b310e760ec5da416139bac83fd1cbad95fcab573740e3fe1a4da95e43fb56c111b62f31583f83622b4dcd0278312a2ddf08383d4e0492465e95

  3. 803b96b4a831d4f0aacb723d92e9f306d2539258c772b8b06a93b6f2d305f4d0b6be40d96137083079c4c962c3f83e665bf1dd5eb039792688dd7d007357ba6d5a893434a07124b7710288e25d42ec1f6c0072c8fdda149208e27661a4a3262e552a84f6bf9d2c00afbeb4c14024e2e2a9d50834d7ee37eb5768cb2811cd8dbf456

  4. 8043566e484ebd24e6c907dee1d09494ca3284c3870701f616536b0b4b75eca49c723c0eaa1860a1af0692c1c7b36213952b6b2f594bad0e7da68fc4a6c7a48d5b7553160dd247a20b6098e617d15d597553a346ba2f7aa98b1c9b0c7ebb699f71dd900ca66bda4beb38ca3972f0b53f22508bdb829faea8fa359cf8f892144e00a

  5. 805fd3b0ec51185fccba438540a03c1c6f95ed460ffb91c5dc94303bb3ca274a6bda0eb1255c457c887146bdcfbba045956cd5eb637f6d82e54a6d7ffac94bf31a03ebc42c528cb7c972f764a6ce15500ac87d0dbae9d4e2dc34581eae167050802d811e26439a5a5fe48dedb12c61ff3f5953c8d6633b9e5dded4040916bd94ac9

https://iancoleman.io/shamir/
Shamir's Secret SharingWikipedia
Logo