add restore passwd crypto