package_crypt

Description

Function used for encrypting your FTP password from the package manager.

Syntax

string package_crypt (string $pass)



Parameter $pass

Expected type: String
Description: The password to encrypt



Return value

Expected type: String
Description: Encrypted password


Notes

  • Session ID used as the salt
  • Continues appending the session id to the salt until the salt is at least as long as your password
  • Returns an encrypted password
Advertisement: