JJohnsenDK Posted May 23, 2007 Share Posted May 23, 2007 Hey How do i encrypt a number? I tried with md5() function, but it does some wierd things. For example it doesnt always store the number? Maybe because it is meant for strings? Link to comment https://forums.phpfreaks.com/topic/52678-solved-how-do-i-encrypt-a-number/ Share on other sites More sharing options...
taith Posted May 23, 2007 Share Posted May 23, 2007 md5/sha1 encrypt... as in if i md5(1), it may not have the number 1 in it... just as if i md5(a)... it may not have the letter a in it... encrypters are not word scramblers... they take a string/int and flip it inside out, backwards and forwards, and everything else they can do to make it that much harder to decrypt... Link to comment https://forums.phpfreaks.com/topic/52678-solved-how-do-i-encrypt-a-number/#findComment-260039 Share on other sites More sharing options...
JJohnsenDK Posted May 23, 2007 Author Share Posted May 23, 2007 Found the error... something wrong with the database... but thanks for the answer Link to comment https://forums.phpfreaks.com/topic/52678-solved-how-do-i-encrypt-a-number/#findComment-260063 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.