+ 1

HOW DO I IMPROVE THIS ENCRYPTION ?

https://code.sololearn.com/wzj6UruB1stj/?ref=app I want to improve structure, efficiency, and fast, this "encryption" is basic. Thank you in advance!

9th Nov 2017, 1:46 PM
MÀtëus Nïcölau
MÀtëus Nïcölau - avatar
4 Answers
+ 14
You're welcome! It's tempting to create our own algorithm to encrypt some secrets to show how creative we are and I've been there before. 😉 However security is a vast topic and the rule of thumb would be applying the algorithm created and reviewed by security experts. I believe you'll enjoy reading some most voted questions on Security StackExchange. Have fun! 😄
10th Nov 2017, 2:00 AM
Zephyr Koo
Zephyr Koo - avatar
+ 15
It's a big NONO if you plan to use this algorithm for password storage. In most cases, password are not meant to be encrypted as there's a possibility to find out the secret via decryption. What you would need is a one-way-function or hashing algorithm. Just head to Security StackExchange to find out more if you're interested. 😉
9th Nov 2017, 3:31 PM
Zephyr Koo
Zephyr Koo - avatar
+ 2
Thank you for your information, I'm grateful! I create it in the intention of sending a message not very important, basic things. On the Lenum site, I put everything about her, the origin, who developed it, for what purposes it would be.
9th Nov 2017, 4:02 PM
MÀtëus Nïcölau
MÀtëus Nïcölau - avatar