In this paper an algorithm for data security within computer networks is in
troduced. The algorithm is based on a public key cipher system and Diophant
ine equations. In order to reduce the possibility of message length predict
ion, the algorithm is improved by using dummy bits technique. Moreover, som
e mathematical rules are applied to limit the length of the enciphering key
. (C) 1998 Published by Elsevier Science Ltd. All rights reserved.