encrypt private data