making main encrypt & decrypt