add encryption mode2. some changes in GUI