This document discusses research into protocols that enable range queries over encrypted data stored in the cloud. It summarizes implementations of secure comparison (SC) and secure bit decomposition (SBD) using both secret sharing and Paillier encryption schemes. For secret sharing, SC relies on secure multiplication and prefix-OR operations. SBD decomposes values into encrypted bits. For Paillier, SC and SBD use homomorphic properties to compute comparisons and bitwise representations without revealing data. The goal is to verify accuracy of these protocols and compare efficiency of secret sharing versus Paillier encryption for supporting range queries over encrypted data.