I am wondering if there is a better way to create my very own encryption. I have looked up some tips on youtube and I found str_replace
. When I tested it, I found out that you could just do. It is also not easy to decode.
Input:A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Output:1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P 0
Is there a better way to do this but instead with math and it can still be decoded. For instance, with math, if I were to do the above it would do something else like this:
Input:A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Output:A4D1G3F4G5H1A4G2F8GFGDFGRH2352GDGHH435DGFDH436DFHH
I already have tried str_replace
, md5
, sha1
, and rot13
.