PHP Class OpenPGP_Crypt_Symmetric, horde

Show file Open project: horde/horde Class Usage Examples

Public Methods

Method Description
checksum ( $s )
decryptPacket ( $epacket, $symmetric_algorithm, $key )
decryptSecretKey ( $pass, $packet )
decryptSymmetric ( $pass, $m )
encrypt ( $passphrases_and_keys, $message, $symmetric_algorithm = 9 )
getCipher ( $algo )
getEncryptedData ( $m )

Method Details

checksum() public static method

public static checksum ( $s )

decryptPacket() public static method

public static decryptPacket ( $epacket, $symmetric_algorithm, $key )

decryptSecretKey() public static method

public static decryptSecretKey ( $pass, $packet )

decryptSymmetric() public static method

public static decryptSymmetric ( $pass, $m )

encrypt() public static method

public static encrypt ( $passphrases_and_keys, $message, $symmetric_algorithm = 9 )

getCipher() public static method

public static getCipher ( $algo )

getEncryptedData() public static method

public static getEncryptedData ( $m )