protected static function LockrAesCbcKeyWrapper::encode in Lockr 7.2
Same name and namespace in other branches
- 7.3 vendor/lockr/lockr/src/KeyWrapper/LockrAesCbcKeyWrapper.php \Lockr\KeyWrapper\LockrAesCbcKeyWrapper::encode()
1 call to LockrAesCbcKeyWrapper::encode()
- LockrAesCbcKeyWrapper::encrypt in vendor/
lockr/ lockr-client/ src/ KeyWrapper/ LockrAesCbcKeyWrapper.php - Encrypt the given plaintext.
File
- vendor/
lockr/ lockr-client/ src/ KeyWrapper/ LockrAesCbcKeyWrapper.php, line 78
Class
Namespace
Lockr\KeyWrapperCode
protected static function encode($cipher, $mode, $iv, $key) {
$parts = array(
$cipher,
$mode,
base64_encode($iv),
base64_encode($key),
);
return implode('$', $parts);
}