Results 1 to 3 of 3

Thread: SHA-256 algorithm encryption

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    1

    SHA-256 algorithm encryption

    I am student doing SHA-256 algorithm encryption project hope anyone can help me to find SHA-256 formula calculate crack time by human. I wanna calculate the SHA-256 encryption break time to write one report to my lecturer, thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: SHA-256 algorithm encryption

    Moved from CodeBank.

  3. #3
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: SHA-256 algorithm encryption

    Quote Originally Posted by bradley83
    I am student doing SHA-256 algorithm encryption project hope anyone can help me to find SHA-256 formula calculate crack time by human. I wanna calculate the SHA-256 encryption break time to write one report to my lecturer, thanks
    First of all, I don't understand why in particular SHA256 ? Why not MD5 wich is easier to break, but still takes at least a life time to do it.

    Anyways....

    The only way I know to break it is brute force. Wich unfortunatelly is the slowest method to do it.

    Think about it this way.... every extra bit, it takes double the time to break it.

    So, lets say you have an 8 bit encryption, that will be 2^8=256 maximum tries in order to break it, and 256 / 2 = 128 on average to break it, so that will be 2^7 = 128 average tries.

    Now for 256 bit, you have 2^256 = 1.1579208923731619542357098500869e+77 maximum tries, and 2^255 = 5.7896044618658097711785492504344e+76 average tries...

    With an average computer (i don't know for sure, but lets say) it's about 10000 tries / second... so then just divide the total tries by how many per second

    So, 5.7896044618658097711785492504344e+76 / 10000 = 5.7896044618658097711785492504344e+72 seconds to break it...

    5.7896044618658097711785492504344e+72 / 60 = 9.6493407697763496186309154173907e+70 minutes to break it

    9.6493407697763496186309154173907e+70 / 60 = 1.6082234616293916031051525695651e+69 hours to break it

    1.6082234616293916031051525695651e+69 / 24 = 6.7009310901224650129381357065213e+67 days to break it

    6.7009310901224650129381357065213e+67 / 365 = 1.8358715315404013734077084127456e+65 years to break it...

    So there you go, that's your number... (that's asuming that you can try 10000 times per second)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width