To get SHA256 hashed-password you can use your operating system tools:
- echo -n 'password' | sha256 - for BSD-based systems
- echo -n 'password' | sha256sum - for Linux-based systems
+ # BSD-based systems:
+ $ echo -n 'password' | sha256
+ # GNU/Linux-based systems
+ $ echo -n 'password' | sha256sum
For example user "foo" with password "bar" can have the following
hashed passwords: