Bit Transposition such as D.E.S Initial Permutation

This is a discussion on Bit Transposition such as D.E.S Initial Permutation within the C++ Programming forums, part of the General Programming Boards category; hello how does one go about doing the initial permutation of DES in C++, without using "des.h", or some other ...

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    9

    Bit Transposition such as D.E.S Initial Permutation

    hello

    how does one go about doing the initial permutation of DES in C++,
    without using "des.h", or some other specific encryption include
    files.

    how do i transpose for example, i need to move bit 58, of the input to
    the first bit of the output, bit 50 to the second position, etc

    thanks

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,451
    So what have you actually tried since last time?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Bit Manipulation Questions
    By CPPNewbie in forum C++ Programming
    Replies: 7
    Last Post: 08-12-2003, 02:17 PM
  2. Copy bit to bit
    By Coder2Die4 in forum C Programming
    Replies: 15
    Last Post: 06-26-2003, 09:58 AM
  3. binary numbers
    By watshamacalit in forum C Programming
    Replies: 4
    Last Post: 01-14-2003, 10:06 PM
  4. 16 bit or 32 bit
    By Juganoo in forum C Programming
    Replies: 9
    Last Post: 12-19-2002, 06:24 AM
  5. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-25-2001, 11:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21