The new way (probably starting from 1.7.4) uses Bcrypt. You can generate the password here:
https://passwordhashing.com/BCrypt
And then copy the cypher text directly to employees.passwd
As simple as that. No need to concatenate the cookie key anymore.
This is how Laravel handles it and probably the best practice nowadays.