1. A system for encoding data while it is being processed, the system comprising: a processor configured to process a query request by determining a set of values; an encoder configured for encoding the set of values such that a subsequent processing operation can be performed on the encoded values; the processor further configured for performing the subsequent processing operations; and a decoder configured for decoding each value back to its value prior to being encoded upon completion of the processor completing the requested query.