• Breaking News

    Thursday, April 11, 2019

    Cryptography New Hope implementation question.

    Cryptography New Hope implementation question.


    New Hope implementation question.

    Posted: 10 Apr 2019 06:44 AM PDT

    https://www.privateinternetaccess.com/blog/2019/02/nist-round-2-and-post-quantum-cryptography-the-new-asymmetric-algorithms-part-3/

    From link above the part:

    NewHope has relatively large keys due to the customization of the Ring-LWE problem, with handshakes in the 2-3MB range...

    What is that mean?
    I found few implementations on the web, each implementation is the same as the one submitted to the NIST

    In key exchange, one side creates offer which is 1824 size in bytes and sends to other side.

    Other side creates response to offer and is 2048 size in bytes.

    After exchange, each side ends up with same 32 byte number which is a key.

    So where is a handshake of 2-3MB ? I do not understand.

    submitted by /u/zninja-bg
    [link] [comments]

    Bitcoin mining: how is a block header of 80 bytes processed in SHA-256? Isn't it too big?

    Posted: 10 Apr 2019 05:48 PM PDT

    The whole process of bitcoin mining was making sense to me until a moment of madness an hour ago, if there is 80 bytes of data to be processed in SHA-256, that's 640 bits of data to be processed in SHA-256.

    In this 80 bytes we have: 4 bytes (version), previous block hash (32 bytes), merkle root (32 bytes), time (4 bytes), bits (4 bytes), nonce (4 bytes).

    I thought SHA-256 accepted 512 bits of data, so that's 64 bytes of data. And on top of that, I need to add the length of the data to be processed in the last 64 bits of this 512 bits input but 64 bytes is well over the limit.

    What am I missing here? Can someone help hear it up for me?

    Thanks

    submitted by /u/gradschl
    [link] [comments]

    No comments:

    Post a Comment