Added encryptor and decryptor for journal. And added test for them