Or even, has it ever made any sense? Recall that inside sphinx library itself we are padding the received message so that the payload has constant length: https://github.com/nymtech/sphinx/blob/develop/src/payload/mod.rs#L95-L96 . But should it even be responsibility of this library? I think it should rather be up to the user to what they put there. Plus right now (inside nym) we are padding the message twice and thus losing a tiny bit of possible data we could send.
Or even, has it ever made any sense? Recall that inside sphinx library itself we are padding the received message so that the payload has constant length: https://github.com/nymtech/sphinx/blob/develop/src/payload/mod.rs#L95-L96 . But should it even be responsibility of this library? I think it should rather be up to the user to what they put there. Plus right now (inside nym) we are padding the message twice and thus losing a tiny bit of possible data we could send.