PayloadTransform
Transforms a binary payload before base-encoding and after base-decoding.
Implementations can perform integrity checks (checksums), authentication, encryption, or error-correcting codes — anything that maps bytes to bytes.
Transforms must be inverse of each other: decode(encode(data)).contentEquals(data).