Zend - The PHP Company




Code Gallery: danzarrella


Hashed & encrypted passwords and usernames login system/functions  

Type: code fragment
Added by: danzarrella
Entered: 30/01/2002
Last modified: 02/12/2001
Rating: **** (7 votes)
Views: 18147
Very simple functions to create a logins table in a mysql db, add hashed/encrypted usernames and passwords, and authenticate.


RC4 encryption function  

Type: code fragment
Added by: danzarrella
Entered: 06/02/2002
Last modified: 02/12/2001
Rating: **** (5 votes)
Views: 10577
A very easy to use RC4 function, written entirely in php, using the function on plaintext returns the Encrypted string and using it on encrypted text returns the plaintext... its that simple. The security of the algorythmn is dependant on the size of the key used and any size key can be used with this function.




Search