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