Re: AES Encryption Algorithm for VBA and VBScript.
Hello,
Trying to step thru this code...
After reading thru the code, I tried to compile it
The following errors occur in the VBA module:
- "Set oFile1 = oFS.OpenTextFile(sFile, ForReading)" I get the error "ForReading" isn't a defined variable.
- "expandedKey = expandKey(aesKey, sbox, rcon)" as an undefined sub/function.
The first error I was able to work around using "OPEN" etc...
The second error, I'm not entirely sure about how to fix.
-z