Méthode |
Description |
|
decrypt ( string $ciphertext, Defuse\Crypto\Key $key, boolean $raw_binary = false ) : string |
Decrypts a ciphertext to a string with a Key. |
|
decryptWithPassword ( string $ciphertext, string $password, boolean $raw_binary = false ) : string |
Decrypts a ciphertext to a string with a password, using a slow key
derivation function to make password cracking more expensive. |
|
encrypt ( string $plaintext, Defuse\Crypto\Key $key, boolean $raw_binary = false ) : string |
Encrypts a string with a Key. |
|
encryptWithPassword ( string $plaintext, string $password, boolean $raw_binary = false ) : string |
Encrypts a string with a password, using a slow key derivation function
to make password cracking more expensive. |
|
legacyDecrypt ( string $ciphertext, string $key ) : string |
Decrypts a legacy ciphertext produced by version 1 of this library. |
|