Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Coding an AES encryptor || Need help to code


Hello guys,
It's been quite a while since i have started this project.

I need a little help, i basically have no idea where to start coding for an AES encryptor i have developed certain algorithms to further improve the current scenario in AES and basically want to implement it. ( preferably in C or C++ lang even java will do ) .

INFO ABOUT AES and MY FIX
The AES currently uses the Rijndael algo to generate the ciphertext, but the use of this algorithm allows error propagation in the cipher text as it goes through several rounds(ultimately resulting in a huge difference from the original plaintext when the ciphertext is decrypted), well i have theoretically devised an algorithm which will help in warding off this error propagation in the ciphertext. I have the Block diagram also ready with me, but the problem is that i am very bad at coding, i had coding for 3 years and i didnt even attend a single lecture , but i know the basics of coding, and if someone can direct me on how to start with the coding process and what all to do i will be very grateful to him/her. ✌

Please help me in my endeavour.

Thank you for reading.  🤝
Well, if you don't know how to code at all, I suggest learning that first. If you do, I suggest finding an implementation of the current AES algorithms and reading that, and understanding how it works. From there you can edit the existing code or reference it when writing your own version. Regardless, cryptography isn't that simple a subject and you might find it useful to do a basic version of your algorithm on paper; that way you can see how it works and iron out any further issues. Hopefully my advice was sound, but perhaps someone with more cryptography experience can weigh in as well.
(Mar 29, 2018 02:05 AM)Annabelle Lee Wrote:  Well, if you don't know how to code at all, I suggest learning that first. If you do, I suggest finding an implementation of the current AES algorithms and reading that, and understanding how it works. From there you can edit the existing code or reference it when writing your own version. Regardless, cryptography isn't that simple a subject and you might find it useful to do a basic version of your algorithm on paper; that way you can see how it works and iron out any further issues. Hopefully my advice was sound, but perhaps someone with more cryptography experience can weigh in as well.

Yes indeed.

But i know coding basics and all the loops but the problems i face are with classes and objects.
Then what part are you stuck with, exactly? What have you tried so far?
I would personally reccomend that you start out with easier encryption algorithms such as XOR and RSA before you move on to more advanced algorithms.

Check out these links for more information on how to build simple encryption/decryption projects;

Click me Spoiler (Click to View)

Get familiar with these types of algorithms and then you will have some knowledge going into the more difficult things.

Good luck.
(Mar 29, 2018 04:21 AM)Nanga Wrote:  Yes indeed.

But i know coding basics and all the loops but the problems i face are with classes and objects.

Show us the outline of what your classes and objects should look like. If you don't know, post what you do know about them.
(Mar 29, 2018 04:21 AM)Nanga Wrote:  Yes indeed.

But i know coding basics and all the loops but the problems i face are with classes and objects.

For anyone to be able to assist you, they'd need to see what they're working with. Otherwise, they can only assume they're blabbering about something relevant to your issue.
[Image: chain.png]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by neonbytesJan 8, 2021 04:09 PM 10 346 Jan 8, 2021 04:09 PM
Last Post: poker
[C] by TarikBrt69Oct 1, 2020 01:57 AM 6 375 Oct 1, 2020 01:57 AM
Last Post: mike.vronsky
[C#] by draxyeeDec 28, 2019 12:24 PM 5 303 Dec 28, 2019 12:24 PM
Last Post: MavenGradle