added [encrypt] & [TestJunit4]