I have one JAVA Desktop application I need to convert one specific functionality of it in to C#.I'll provide the java code and all other required data. The ultimate goal is the c# application must generate the same output JAVA application generates.
The code JAVA code is as follows:
protected void init()
{
byte[] key = getPlatformHook().generateKey(getSeedFile());
[login to view URL] = new byte[32];
[login to view URL] = new byte[[login to view URL] - [login to view URL]];
[login to view URL](key, 0, [login to view URL], 0, [login to view URL]);
[login to view URL](key, [login to view URL], [login to view URL], 0, [login to view URL]);
[login to view URL] = null;
[login to view URL] = [login to view URL];
[login to view URL] = 0;
loadSeed();
}
protected void decryptSeed(byte[] encryptedSeed)
throws IOException
{
decryptSeed(encryptedSeed, [login to view URL], [login to view URL]);
}
protected void decryptSeed(byte[] encryptedSeed, byte[] encryptionkey, byte[] initVector)
throws IOException
{
byte[] decryptedSeed = new byte[[login to view URL]];
RijndaelCFB cipher = new RijndaelCFB(encryptionkey, initVector);
[login to view URL](encryptedSeed, decryptedSeed);
byte[] seed = new byte[20];
DataInputStream ds = new DataInputStream(new ByteArrayInputStream(decryptedSeed));
[login to view URL](seed);
[login to view URL] = [login to view URL]([login to view URL]() & 0xFF);
[login to view URL] = [login to view URL]();
byte[] digest = new SHA1().digest(seed);
for (int i = [login to view URL] + 1 + 4; i < [login to view URL]; i++) {
if (decryptedSeed[i] != digest[(i - [login to view URL] - 1 - 4)]) {
[login to view URL] = true;
}
}
setSeed(seed);
}
From above code I need to convert the decryptSeed to c# the file with encrypted data which this file decryptes is attached in attachments. The name of file is [login to view URL]
Hi Dear,
I am having an expert level knowledge in C# DotNet.I would love to work in this project to help you get the details of your need. Awaiting your positive response.
Regards,
Mayuri Patel.
Hello!
I've read your requests.
I have a full of experiences with Java and C# Programming and I'd finished some projects like this.
I can do your task quickly and clearly.
Hope your kind contact and let us discuss about this project.
Thanks!
Hi. I am a very experienced programmer. I think I can help you not only build the project, but also understand how it works. Also would like to receive positive feedback for further business on this website, so I am very motivated to work.
Thank you
I have done encryption and decryption in Java and C++ and also did a project where the encryption was done in Rijendael in C# and decrypted in Java. This experience gives me confidence that I can fo this project.