Applies the hash algorithm you select to an ASCII password string
    and returns a quadword hash value that represents the encrypted
    password.
    Format
      SYS$HASH_PASSWORD  pwd ,alg ,[salt] ,usrnam ,hash
    C Prototype
      int sys$hash_password  (void *pwd, unsigned char alg, unsigned
                             short int salt, void *usrnam, struct
                             _generic_64 *hash);
Additional Information:
explode
extract