| View previous topic :: View next topic |
| Author |
Message |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Mon Jul 28, 2008 7:31 pm Post subject: [PHP] 2 Way Encryption Function |
|
|
Well, i was trying to look for an encryption method where you can encrypt and decrypt it... but that isnt working to well...
Does anyone know of one?
or
Has anyone ever made one with function name { //code } ?
_________________
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Mon Jul 28, 2008 7:51 pm Post subject: |
|
|
My friend (a php web developer) worked on encryption in his early days of web programming and made a type of encryption that does something like the following :
Take string -> hex -> binary -> 20 bit
etc and then just reverse it...There are very advanced free methods out there for this type of stuff though
_________________
|
|
| Back to top |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Mon Jul 28, 2008 8:21 pm Post subject: |
|
|
I know, im looking and not finding anything i need it to be one string ( jkaefh3q4wf not 01 01 01 01 or e3 bg t4 3s ) so hex and binary arent fun...
_________________
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Jul 29, 2008 6:55 am Post subject: |
|
|
Why? If you are using it to store passwords then you can...If you are using it just to add encryption, then hex encryption is good. and remember; you can always change the hex to a string after other manipulations >.>
_________________
|
|
| Back to top |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Tue Jul 29, 2008 9:37 am Post subject: |
|
|
Thanks, I think i will just explde it and take out the spaces Anyway, do you know how to convert text to hex?
_________________
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Tue Jul 29, 2008 2:44 pm Post subject: |
|
|
If you want encryption you can use DES or blowfish.
I think the code was
Somthin..._create_IV
somethin..,_Encrypt
Uh... Forgot but just search it on the net. Look for php blowfish or something.
|
|
| Back to top |
|
 |
|