Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!uwmcsd1!lakesys!davek From: davek@lakesys.UUCP (Dave Kraft) Newsgroups: comp.lang.c Subject: Inversion Keywords: Inversion, binary, en/decryption, etc. Message-ID: <593@lakesys.UUCP> Date: 2 May 89 23:31:57 GMT Organization: Lake Systems - Milwaukee, Wisconsin Lines: 17 Hi, I was trying to think up a way of en/decrypting a file, and I was wondering if there was any way to invert a binary number like the following example: 10101010 (decimal 170) 01010101 (decimal 85) If anyone could help me here, I would be really greatful. Thanks in advance. Dave -- davek@lakesys.lakesys.com -OR- uunet!marque!lakesys!davek ------------------------------------------------------------------------------- "The mystical divinity of unashamed felinity. 'Round the cathedral rang 'Vivat!' Life to the everlasting Cat!" --'Cats'