Editing Crypt

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 24: Line 24:
  
  
CRYPT_STD_DES - Standard [[DES]]-based encryption with a two character salt
+
CRYPT_STD_DES - Standard DES-based encryption with a two character salt
  
CRYPT_EXT_DES - Extended [[DES]]-based encryption with a nine character salt
+
CRYPT_EXT_DES - Extended DES-based encryption with a nine character salt
  
CRYPT_MD5 - [[MD5]] encryption with a twelve character salt starting with $1$
+
CRYPT_MD5 - MD5 encryption with a twelve character salt starting with $1$
  
CRYPT_BLOWFISH - [[Blowfish]] encryption with a sixteen character salt starting with $2$ or $2a$  
+
CRYPT_BLOWFISH - Blowfish encryption with a sixteen character salt starting with $2$ or $2a$  
  
Note: There is no decrypt function, since crypt() uses a one-way algorithm.
+
Note: There is no decrypt function, since crypt() uses a one-way algorithm.  
  
 
==== Examples ====
 
==== Examples ====

Please note that all contributions to s23 are considered to be released under the Creative Commons Attribution Share Alike (see s23:Copyrights for details) unless another license is specified on a specific page. If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here.
When uploading your own work you can choose from different cc license types, a GNU license like GFDL or you can declare it entirely Public domain. Use the according license template on a page. If no specific license is specified, Creative Commons Attribution Share Alike will apply. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!

Cancel Editing help (opens in new window)