Skip to content

Commit ddcfae5

Browse files
committed
Set default 32 bit cipher
1 parent 7831bd4 commit ddcfae5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DefaultEncrypter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DefaultEncrypter implements Encrypter
2121
*/
2222
public function __construct($key, IlluminateEncrypter $encrypter = null)
2323
{
24-
$this->encrypter = $encrypter ?: new DefaultIlluminateEncrypter(md5($key));
24+
$this->encrypter = $encrypter ?: new DefaultIlluminateEncrypter(md5($key), 'AES-256-CBC');
2525
}
2626

2727
/**

0 commit comments

Comments
 (0)