Home encrypt and decrypt methods added in security