init encrypted