add calculating x with scrypt to srputil