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