A method for communicating a document from a sender to a recipient, wherein the recipient is enabled to verify the contents of the document, comprising the steps of: defining a format for document transmission in a document representation language suitable for processing documents including both text and operable code, said format including either (a) an algorithm for encoding the document accordi