I read documents and I am not able to get it how to get
$salt = Configure::read('Security.salt');
Cakephp version is 3.4
Configure::Read('Security.salt') will return a blank value in cakephp 3.x before cakephp 3 version it worked.
In-order to read the salt from the configuration file you'll need to include the Security namespace:
And you can retrieve the value of the salt using: