Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
joas19425yWIP much. Such comment niceness.
Just kidding. Good that you have discovered character replacement. -
VINDIC2985y@joas thank god my last program for this was so bad that I can't even look at it anymore
-
@VINDIC again, if you are actually interested in encryption implementations, look at things like AES papers, people that are much smarter mathematicians than all of us had a say for a reason
what you have at hand could be reversed after having couple examples (maybe even just one), google around for things like "why not to roll your own crypto" or "reverse custom encryption" etc. -
@VINDIC for starters look at things like XOR cipher: https://en.wikipedia.org/wiki/... try to implement it
early history "encryption": https://en.wikipedia.org/wiki/ROT13 though clearly not advisable for anything usable, as has been shown even with a much better implementation during war: https://en.wikipedia.org/wiki/... -
@VINDIC look my post above, that'll give you a better ground than just replacing random letters
-
@VINDIC No. Wouldn't make it better.
If you want to have a good introduction into cryptography, you might want to look at the lectures of Christof Paar, a cryptographer at the university of Bochum. He uploaded all of ilhis lectures to YouTube, in German and English (https://m.youtube.com/channel/...). -
Encryption doesn't work if you can decode it within a thousand tries.
I bet you don't have a way to migitate timing attacks. -
@VINDIC What you made, is an encoding (and a very inefficient one). This is not the same as encryption.
-
@VINDIC Encoding: Just an alternative representation (like Base64, Hexadecimal, UU-Encoding), without any secrecy.
Encryption: Only a persons with the key used for encryption are able to read the encrypted data. -
@VINDIC No, encoding is literally just a way to represent text differently. If you can simply run a reverse function, it's not secure.
Related Rants
ANNOUNCEMENT changes to encryption repo https://github.com/vindicit/...
random
c#