I would like to create a custom algorithm for encrypting and decrypting strings of data. I want the algorithm to allow two parameters:
- Custom salt string for the algorithm to use to create custom encrypted strings of the data.
- The data to be encrypted / decrypted.
I don't want to use any php set functions cause they are crackable. I want to learn how to create a custom algorithm from scratch and custom code.
Thanks for any help.