mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Adjust key size in KeyGenerator to 32 bytes.
Changed the key size from 128 bytes to 32 bytes in the KeyGenerator service. This aligns with the expected algorithm requirements and ensures proper cryptographic behavior.
This commit is contained in:
parent
999ac3af2b
commit
812e4047d0
@ -33,7 +33,7 @@ class KeyGenerator
|
||||
throw new \LogicException(sprintf("Algorithm '%s' is not supported.", $algo));
|
||||
}
|
||||
|
||||
$key = $this->randomizer->getBytes(128);
|
||||
$key = $this->randomizer->getBytes(32);
|
||||
|
||||
return [
|
||||
'alg' => 'A256CBC',
|
||||
|
Loading…
x
Reference in New Issue
Block a user