internal server error after changed 'secret' in config.php

I changed ‘secret’ in config.php via ‘openssl rand -base64 32’, but after that i received internal server error while login, and this is the error in logs

,“File”:“/var/www/html/lib/private/Security/Crypto.php”,“Line”:147,“message”:“hash_hkdf(): Argument #2 ($key) cannot be empty”,“exception”:{},“CustomMessage”:“hash_hkdf(): Argument #2 ($key) cannot be empty”}}

This value is not typically ever modified as it is automatically generated. Changing it in an existing installation will break things.

What is your underlying goal?