Yes and thanks for the link so I will see if it's not too bloated and run some bench marks on the speed and will report back
with my findings.
The script assumes you have Visual Studio 2010, 2013 or 2015 installed in all the usual places. Important: If you have a different installation folder, your mileage may vary
The script assumes you have downloaded an OpenSSL tarball, like this one.
The script assumes you have Python (2.7 or 3.x) installed and on your PATH
The script assumes you have 7-zip installed (doesn't need to be on your PATH)
You need Perl. For Windows, ActivePerl is probably the best choice.
You need Nasm.
Choose the script you want to use and edit it. For example, let's take a look at the top of rebuild_openssl_vs2015.cmd:
Me is not going to these lengths, I know nothing about Perl and was expecting a VS C# project to play with so maybe I will
have a quick search around and see whats going.
The download from David-Reguera went over 200mb and it contains hundreds of HTML files in the
vs-2010 folder but no solution file or project folder which is sort of a basic requirement for VS projects that
contains fifty C++ Header files alone.
I want something that's KISS but gets the job done
Back again.
Stackoverflow.com are mouth peaces for Microsoft, defenders of the faith like we have here with bitcoins and they won't hear a world said against
it's MS pay masters and reading a few posts on SO you get the impression that they discourage any encryption that does not fall back
on Microsoft's (un-trusted) black box code so I am not really finding what I am looking for but they are not alone, "The code project" is just as bad too.
Come on someone must have a bit of code written for windows that does encryption based on a Key and uses less than a hundred lines of
code that's fast enough for the job I want or has it all been scrubbed from the net making my theory quite plausible.
This code I wrote offers better security but it's too slow for 2mb blocks
public static byte[] Encryption(Privateaddress Keys, byte[] data,bool UsePublicKey)
{
BigInteger encData = 0;
if (data == null) throw new ArgumentNullException("data");
int maxDataLength = (Keys.KeySize / 8) - 6;
if (data.Length > maxDataLength)throw new ArgumentOutOfRangeException("data", string.Format("Maximum data length for the current key size ({0} bits) is {1} bytes (current length: {2} bytes)",Keys.KeySize, maxDataLength, data.Length));
BigInteger numData = GetBig(AddPadding(data));//Add 4 byte padding to the data, and convert to BigInteger struct
BigInteger Exponent = StringToBig(Keys.Exponent);
BigInteger Modulus = StringToBig(Keys.PublicAddress);
BigInteger D = StringToBig(Keys.PrivateAddress);
if (UsePublicKey)
encData = BigInteger.ModPow(numData, D, Modulus);
else
encData = BigInteger.ModPow(numData, Exponent, Modulus);
return encData.ToByteArray();
}
Where is that rijndael dude when you want him