This repository has been archived by the owner on Jan 22, 2023. It is now read-only.
/
reference.py
36 lines (31 loc) · 2.27 KB
/
reference.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#I would like to thank the former mathematicians, the programmers that worked tirelessly to come up with these
#methods to obfuscate data under such strenuous ways, in order to protect information from being stolen.
# Book: The Design of Rijndael - https://cs.ru.nl/~joan/papers/JDA_VRI_Rijndael_2002.pdf
# https://crypto.stackexchange.com/questions/2569/how-does-one-implement-the-inverse-of-aes-mixcolumns
# https://en.wikipedia.org/wiki/Rijndael_S-box
# https://en.wikipedia.org/wiki/Rijndael_MixColumns
# https://en.wikipedia.org/wiki/AES_key_schedule
# https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation
# On the theory of Galois Field GF(2^8) and how it applies in said situation:
# https://engineering.purdue.edu/kak/compsec/NewLectures/Lecture5.pdf
# https://engineering.purdue.edu/kak/compsec/NewLectures/Lecture6.pdf
# https://engineering.purdue.edu/kak/compsec/NewLectures/Lecture7.pdf
# https://engineering.purdue.edu/kak/compsec/NewLectures/Lecture8.pdf
# On the overall mechanism of AES Encryption:
# https://nvlpubs.nist.gov/nistpubs/fips/nist.fips.197.pdf
# https://formaestudio.com/rijndaelinspector/archivos/Rijndael_Animation_v4_eng-html5.html
# https://en.wikipedia.org/wiki/Advanced_Encryption_Standard
# https://crypto.stackexchange.com/questions/2569/how-does-one-implement-the-inverse-of-aes-mixcolumns
# https://crypto.stackexchange.com/questions/51951/aes-key-expansion-for-192-bit
# https://crypto.stackexchange.com/questions/81712/rcon-for-aes-192-and-256
# https://crypto.stackexchange.com/questions/11096/two-different-approaches-for-key-expansion-using-the-aes-256-algorithm
# https://www.baeldung.com/java-aes-encryption-decryption
# https://www.highgo.ca/2019/08/08/the-difference-in-five-modes-in-the-aes-encryption-algorithm/
# FOR CHECKING THE CORRECTNESS OF AES:
# https://formaestudio.com/rijndaelinspector/archivos/Rijndael_Animation_v4_eng-html5.html
# https://github.com/chrisveness/crypto/blob/master/test/aes-tests.js
# https://nvlpubs.nist.gov/nistpubs/fips/nist.fips.197.pdf (Appendix A.1, A.2, and A.3)
# http://aes.online-domain-tools.com/
# https://string-functions.com/string-hex.aspx
# https://searchcode.com/codesearch/view/15318961/
# https://github.com/Anexsoft/Bolt-CMS/blob/master/vendor/passwordlib/passwordlib/test/Data/Vectors/aes-ofb.test-vectors