• Breaking News

    Tuesday, April 23, 2019

    Cryptography Compression function/Block Cipher at the heart of SHA-256?

    Cryptography Compression function/Block Cipher at the heart of SHA-256?


    Compression function/Block Cipher at the heart of SHA-256?

    Posted: 23 Apr 2019 01:37 AM PDT

    Hey guys,

    I'm wondering as mentioned in Serious Crypto by Jean-Philippe Aumasson, if at the heart of hash functions is a block cipher, which cipher is used by SHA? - is it something like AES?

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

    Can a KDF Be Used For Deriving Keys and Verifying a Password All In One Step With a Long Hash?

    Posted: 22 Apr 2019 09:05 AM PDT

    Knowing key derivation functions like Scrypt, PBKDF2, and Argon2 allow for variable hash output length, assume we generated a 32 byte hash: the first 16 would be the actual "hash" used to verify the password, and the last 16 would be fed into an authenticated AES cipher. If we only save the first 16 bytes and the salt as the actual hash data but discard the last 16, what is the likelihood an attacker could get the last 16 bytes without deriving the whole 32 byte hash? Also, does a longer hash increase the likelihood of a collision for these algorithms?

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

    No comments:

    Post a Comment