This is regarding sha256Hash field in signer operation.
let hash = sha256.createHash('sha256').update(message).digest('hex');
Here the input parameter
message should be 256 bit value. Assuming my input is less than 256 bit (say for example I want to pass "hello" as parameter), what are the possible ways of padding or encoding the data in secure way ?