hash static method
Computes Scrypt hash for mining operations
params - Mining parameters including N, r, p, dkLen, salt, and password
Returns the mining hash as a hexadecimal string
Implementation
static String hash(ScryptMiningParams params) {
final hashBytes = _deriveKey(params);
return _bytesToHex(hashBytes);
}