Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: John Samuels
# Date: 13/11/19
# Description: This is my solution for lab 3 of Applications of Cryptography. The main difference between this and the model solution is I've written it for python 3,
# and I'm using the pycryptodome library: https://pycryptodome.readthedocs.io/en/latest/
import argparse
from Crypto.Cipher import AES
from Crypto.Hash import SHA256
### Keybase proof
I hereby claim:
* I am stock1218 on github.
* I am stock1218 (https://keybase.io/stock1218) on keybase.
* I have a public key ASDtGfx7aoPISB86a9qrOCqF3hQvV5ARNFQAcice9y8oGwo
To claim this, I am signing this object:
<!DOCTYPE html>
<html style="hight=">
<body>
<table>
<tr>
<td width='100%' height='100%' bgcolor=black>
<table width='100%' align='center' bgcolor='#ffffff'>
</td>
</tr>
</table>