Created
February 20, 2019 18:29
-
-
Save blurbdust/970396330fbddcfed1177d9375255549 to your computer and use it in GitHub Desktop.
CPRE.331.Lab5.Part2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from secretsharing import PlaintextToHexSecretSharer | |
def recover_flag(msgs): | |
print(PlaintextToHexSecretSharer.recover_secret(msgs)) | |
def print_results(): | |
msgs = [] | |
recover_flag(msgs[::4]) | |
recover_flag(msgs[1::4]) | |
recover_flag(msgs[2::4]) | |
recover_flag(msgs[3::4]) | |
recover_flag(msgs[4::4]) | |
print_results() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment