The Little Guy Posted May 25, 2010 Share Posted May 25, 2010 Any ideas on a good way to make a custom encryption and decryption script? Quote Link to comment https://forums.phpfreaks.com/topic/202807-custom-encryptiondecryption/ Share on other sites More sharing options...
Mchl Posted May 25, 2010 Share Posted May 25, 2010 Get a degree in mathematics. Quote Link to comment https://forums.phpfreaks.com/topic/202807-custom-encryptiondecryption/#findComment-1062890 Share on other sites More sharing options...
ignace Posted May 25, 2010 Share Posted May 25, 2010 Get a degree in mathematics. Or a book, but you'll need the degree to understand it Quote Link to comment https://forums.phpfreaks.com/topic/202807-custom-encryptiondecryption/#findComment-1062976 Share on other sites More sharing options...
Daniel0 Posted May 25, 2010 Share Posted May 25, 2010 The first rule of implementing crypto is don't implement crypto. The fact that you are asking this question shows that you shouldn't implement crypto. No offense. Quote Link to comment https://forums.phpfreaks.com/topic/202807-custom-encryptiondecryption/#findComment-1063034 Share on other sites More sharing options...
The Little Guy Posted May 25, 2010 Author Share Posted May 25, 2010 The fact that you are asking this question shows that you shouldn't implement crypto. No offense. None taken. I did this a while back, but it wasn't really encryption i don't think. What I did was give each keyboard value a 2 digit number, and put it into 2 arrays, that way I could encode/decode it. Quote Link to comment https://forums.phpfreaks.com/topic/202807-custom-encryptiondecryption/#findComment-1063177 Share on other sites More sharing options...
Mchl Posted May 25, 2010 Share Posted May 25, 2010 That's good enough for some fun, but is far from enough when security is concerned. A substitution cypher like this, can be fairly easy broken with frequency analysis. Quote Link to comment https://forums.phpfreaks.com/topic/202807-custom-encryptiondecryption/#findComment-1063183 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.