A secure system for creating digital receipts, while minimizing the amount of
data
that is encoded in the digital receipt. The digital receipt provides authentication
for a transaction. A digital receipt may be printed in the form of a code. The
digital receipt digitally encodes a transaction identification code, a transaction
amount or number of units authorized, and a digital signature. The digital receipt
may be scanned or read to verify the authenticity of the transaction.