Abstract
In this paper a programmable long PN sequence generator using Linear Feedback Shift Register is presented that uses different taps randomly or in a predefined manner. Various statistical tests were also performed which show random nature of the sequence generated. Further, the sequence generated was applied to encrypt an image. The encrypted image shows white noise characteristics and is successfully decrypted.