CipherBuilderTrait
Table of Contents
- getCipherOpenSslName() : string
- Returns an identifier recognizable by `openssl_*` functions, such as `aes-256-cbc` or `aes-128-ctr`.
Methods
getCipherOpenSslName()
Returns an identifier recognizable by `openssl_*` functions, such as `aes-256-cbc` or `aes-128-ctr`.
protected
getCipherOpenSslName(string $cipherName, int $keySize) : string
Parameters
- $cipherName : string
-
Name of the cipher being used for encrypting or decrypting.
- $keySize : int
-
Size of the encryption key, in bits, that will be used.