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
<!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> |
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
### 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: |
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
#!/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 |