Re: LRC Calculation Algorithm

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:OueSbJWFGHA.3348@xxxxxxxxxxxxxxxxxxxxxxx
> "Dmitriy Antonov" <antonovdima@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:eTPT5GWFGHA.344@xxxxxxxxxxxxxxxxxxxxxxx
>>
>> Take a look at this. It looks like it is just producing a hash value by
>> XORing all ASCII (or UNICODE) codes of all characters in the string.
>> http://en.wikipedia.org/wiki/Horizontal_redundancy_check
>>
>>
>> Dmitriy.
>
> Which is... pretty much what that Quick Basic code I found does <g>
>

It looks like this (I didn't study that code but took a brief look). But
that one has additional code to process data coming from serial port, which
makes it more difficult to decipher that tiny portion of algorithm itself.
Without looking into WIKI info, it is possible that, I wouldn't be able to
separate algorithm from other parts of code (unless I know, what algorithm
is).

Dmitriy.


.



Relevant Pages

  • Re: how shd i improve upon this algorithm(ne suggestions)
    ... > the following algo can be used only to encrypt ascii characters. ... > nos 0....255.We use this to asssign a new index to ebery charcter. ... > consider pairs of nos we can divide the set into 16*16 distinct ... I'm sure the people capable of "optimizing" your algorithm understand the ...
    (sci.crypt)
  • Re: Is there a Mathematician Cryptographr in the House.
    ... number of modules are combined into one array. ... If you call scrambling ... ASCII and 2) the square is made mobile in the fourth quadrant of the ... 'believe' that the algorithm is superior or is even a wonder, ...
    (sci.crypt)
  • Re: Is there a Mathematician Cryptographr in the House.
    ... number of modules are combined into one array. ... If you call scrambling ... ASCII and 2) the square is made mobile in the fourth quadrant of the ... 'believe' that the algorithm is superior or is even a wonder, ...
    (sci.crypt)
  • Re: experimental inter-process "naive" eventcount...
    ... have an easy time implementing it with Dmitriy V'jukov's clever approach ... this context (testing of the algorithm) it must be not a problem. ... In latest version there is a possibility to pass per thread descriptor ... descriptors will be allocated in shared memory, ...
    (comp.programming.threads)
  • Re: atomic-free spsc-lifo-stack
    ... But I don't see such algorithm ... > Dmitriy, do you mind if I stick the code above in a future AppCore> update? ...
    (comp.programming.threads)