0

I need to create a internal AES/Base64 encrypt system for my application. I mean , I don't want to have any side dll for my exe like openssl library.

I found this threads :

But they wasn't what I need , I searched and I found nothing.

What I need exactly is like this site : https://aesencryption.net/

  1. First an AES encryption with a key at 256bit mode
  2. Next convert it to Base64 ( a Result of encryption in base64 in aesencryption.net )
  3. And a decrypt system to get the first string from encrypted result.

In this thread the key has to be 32 lenght but in the aesencryption.net it can be everything .

Can you please guide me how can I create a system like aesencryption.net site ?

  • Off topic either: Too broad (write my code) or Asking to recommend. Please edit your question, see: https://stackoverflow.com/help/on-topic – Richard Critten May 02 '18 at 12:30
  • @RichardCritten hi Richard , No i don't need any code I need guide . like included libraries , links or anything can help me . thanks – Samuel Hardson May 02 '18 at 12:36
  • 1
    You can compile OpenSSL as a static library. Please do not plan on writing your own AES implemention. http://www.moserware.com/2009/09/stick-figure-guide-to-advanced.html (See the slide labelled "Foot-shooting prevention agreement".) – Martin Bonner supports Monica May 02 '18 at 12:36
  • @RichardCritten I will do an edit – Samuel Hardson May 02 '18 at 12:37
  • @SamuelHardson - well I've voted to close as too broad. Please [edit] your question to clarify you want recommendations for suitable libraries, and we can close it as being "off-topic: requests for library". Sorry, but SO had rules about what is on-topic here, and this question isn't. – Martin Bonner supports Monica May 02 '18 at 12:38
  • @MartinBonner my bad , I respect the community . please do what is right. – Samuel Hardson May 02 '18 at 12:48
  • To help you with your Base64 stuff, try https://stackoverflow.com/questions/180947/base64-decode-snippet-in-c?noredirect=1&lq=1 – Chris Pikula May 02 '18 at 13:39

0 Answers0