implemented simple TripleDES demo