Re: SHA1 Question

From: Michael Amling (nospam_at_nospam.com)
Date: 03/31/05

  • Next message: Mxsmanic: "Re: SHA1 Question"
    Date: Thu, 31 Mar 2005 04:16:10 GMT
    
    

    Igor Tebelev wrote:
    > Suppose I have some unknow sequence of 7 bytes.
    > Those bytes are encrypted using SHA1 which produces 20 bytes hash value
    > Of those 20 bytes first 12 are known.
    >
    > So, the question is: having first 12 bytes of SHA1 result is there anyway to
    > find original 7 bytes sequence used to produce that SHA? Brute force
    > solution is not acceptable: I'm looking for something fast. Any refferences
    > would be appreciated.

       Someone will correct me if I'm wrong, but AFAIK, brute force is the
    fastest way to find SHA-1 pre-images. If some sequences of 7 bytes are
    more likely than others (which you could not find out just from looking
    at the hash), try them first.

    --Mike Amling


  • Next message: Mxsmanic: "Re: SHA1 Question"

    Relevant Pages

    • Re: Magic Sinewave short sequence
      ... Stupid suggestion: ... How about brute force? ... Use a Genetic Algorithm to guess a bit sequence, ...
      (sci.electronics.design)
    • Re: SHA1 Question
      ... "Igor Tebelev" writes: ... > find original 7 bytes sequence used to produce that SHA? ... Brute force ... That would be a total security failure of SHA. ...
      (sci.crypt)
    • Re: How to find the maximum sum of atleast L consecutive integers given a sequence of N integers.
      ... How can we find the maximum sum of atleast L consecutive integers given ... The brute force approach of forming all possible length sequences at ... Create a new sequence by replacing each run of adjacent positive ... Using the index match this back to the original sequence. ...
      (comp.programming)
    • Re: Finding minimum in arithmetic series modulo N
      ... brute force. ... Think of where the successive values of the sequence ... Now consider only every flooriterations from then on. ... in this sequence increase by some amount r 0 you can now ...
      (sci.math)
    • Re: Summary of Bit-Level SHA Discussion
      ... If I tell you to do it as a sequence of bits, ... Many command-line digest ... The bit-string specification used in the SHA standard is completely ... as are the details of packing input bit-strings into blocks ...
      (sci.crypt)