OK. If I understand correctly maybe this will help.
Let's start with a string: 01000101 (hex 45)
% set as 01000101
01000101
% set bs [binary format B8 $as]
E
The thing is I am trying to implement DES algorithm for which ..I need to have plain text which is converted to 64 bit binary numbers from which I remove 8 16 24 ..... to get a new key of 56 bit. which I later divide into 28 each to encrypt
thanks
sumanth
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.