there exist numerous public key probabilistic encryption algorithms . most of these algorithms do not have a maximum security level against someone capable of chosen ciphertext attacks . the disclosed method provides a construct to enhance the security of any public key probabilistic or deterministic encryption algorithm to achieve an optimal security level .