added doc for encryption