add read&write enctyption