Methods, apparatuses, and computer program products are provided for database record recovery. The input terminal of each of the sample-and-hold circuits is coupled to receive the analog input signal. Furthermore, disclosed herein is a means for computing the parameters dp, dq, and d in a manner such that the computational sequence is independent of the values of the prime factors p and q, thereby reducing vulnerability to attacks that exploit such dependence.