Re: Basic encryption

From: Richard (shnuber_at_hotmail.com)
Date: 11/13/03


Date: 13 Nov 2003 08:02:29 -0800

Thanks guys,
Ya i took into consideration when you shift you loose bits. I was
justORing it with 0x80 for char to test if bit was 1/0 so i could tack
it on the end i was shifting into.

I should be able to get it right by trial and error.

shnuber@hotmail.com (Richard) wrote in message news:<3bcbbb8a.0311121001.68f33ed2@posting.google.com>...
> I'm looking to do my own basic encryption. I've been tyring to do a
> concept such as:
>
> I pass this function the string, key and number of rounds I want to do
> the encryption. because im round shifting the bits the decryption
> doesn't work.. :P
> Am I going about this all wrong or does anybody know an easier way
> (besides getting an open source algo class such as Crypto++)
>
> I'm super new to fooling with the bits/encryption
>
> for(;num of rounds;)
> {
> char ^ Key;
> Round bit shift;
> }



Relevant Pages

  • php extensions compile error - another compile bug?
    ... | which can conflict with char dl; ... | /* We use char because int might match the return type of a gcc2 ... configure:3490: checking for gzgets ... conftest.c:35: warning: conflicting types for built-in function 'round' ...
    (freebsd-questions)
  • A Parity Cracking Implementation
    ... As a rule always,always bit state the algorithm. ... A bit shift to the right of the whole block and ... unsigned char block; ...
    (sci.crypt)
  • SOCKET- AN ALGORITHM - repost
    ... A basic shuffle is established to see if everbody is awake. ... A bit shift to the right of the whole block and ... unsigned char block; ...
    (sci.crypt)
  • RE: Multiply IF AND OR comparisons
    ... Probably the best way to handle this is using the Solver Add-In. ... First round should be filled manually. ... The next shift round should be generated by using data from the last / ... if employee has exceeded one or more of the limits in previous round ...
    (microsoft.public.excel.worksheet.functions)
  • Multiply IF AND OR comparisons
    ... First round should be filled manually. ... The next shift round should be generated by using data from the last / ... if employee has exceeded one or more of the limits in previous round ...
    (microsoft.public.excel.worksheet.functions)