Monday, May 13, 2013

How many Type of encryption function supported in PHP.



  1. crypt(): The crypt() function returns the encrypted string by using DES algorithms.
  2. encrypt(): The encrypt() function encrypts a string using a supplied key.
  3. base64_encode(): This function encrypts the string based on 64 bit encryption.
  4. base64_decode(): This function decrypts the 64 bit encoded string.
  5. md5(): Calculates the MD5 hash of the string using RSA data security algorithm.
  6. Mcrypt_cbc()- Encrypts data in Cipher block chain mode.
  7. Mcrypt_cfb()- Encysrtpts data cipher feedback (CFB) mode
  8. Mcrypt_decrypt()- Decrypts data.
  9. mcrypt_encrypt- Encrypts plaintext with given parameters
  10. mcrypt_generic- encrypts data
  11. mcrypt_get_key_size - Get the key size of the specified cipher
  12. mdecrypt_generic – dectpyts data


No comments:

Post a Comment