Hi archana,
As far as encrypting the data, I think the best way to do this would be for you to do it in your own implementation of the persistence API, or, if you want to use one of the existing implementation (Oracle, MySQL, eXist), write a "proxy" implementation that does the encryption/decryption and calls one of the existing implementation.
Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet