Crystal and yescrypt

Hi guys, I did some research and I find how to understand the /etc/shadow file. Now I would like to know if there is any way to get the hash of a string in yescrypt ?

Or is there any cli in Linux to generate a hash ?

I find how to do with mkpasswd :smiley: