Hi! ✌️ I need to generate some string in C++ with random characters that can use all letters from "a" to "z" (include capital letters), and all numbers from 0 to 9 there.

And for examples this should looks somehow like this:

SnHXAsOC5XDYLgiKM5ly

Also I want to encrypt that string then by itself:

SnHXAsOC5XDYLgiKM5ly encrypt with SnHXAsOC5XDYLgiKM5ly key.

So, how can I do this in C++? 🤔

Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 year ago (3 children)

you can do this in pretty much any language. have you tried anything and need help or you're just asking us to do your homework for you?

  • source
  • hideshow 3 child comments
  • [–] [S] 0 points 1 year ago (2 children)