Skip to main content
Post Closed as "Duplicate" by kelalaka, CommunityBot
deleted 1 character in body
Source Link

As far as I know, PBKDF2 uses andan underlying pseudorandom function in order to generate a hash (like SHA256) so as far I understood PBKDF2 is basically a hash function that uses an underlying function in order to generate a hash but what I don't understand is that what's the point of hmac here?

I expected to use something like PBKDF2WithSHA512 instead of PBKDF2WithHmacSHA512 and I really can't understand what's the point of HMAC.

As far as I know, PBKDF2 uses and underlying pseudorandom function in order to generate a hash (like SHA256) so as far I understood PBKDF2 is basically a hash function that uses an underlying function in order to generate a hash but what I don't understand is that what's the point of hmac here?

I expected to use something like PBKDF2WithSHA512 instead of PBKDF2WithHmacSHA512 and I really can't understand what's the point of HMAC.

As far as I know, PBKDF2 uses an underlying pseudorandom function in order to generate a hash (like SHA256) so as far I understood PBKDF2 is basically a hash function that uses an underlying function in order to generate a hash but what I don't understand is that what's the point of hmac here?

I expected to use something like PBKDF2WithSHA512 instead of PBKDF2WithHmacSHA512 and I really can't understand what's the point of HMAC.

polish
Source Link
kelalaka
  • 49.5k
  • 12
  • 119
  • 205

What's the use of HmacHMAC in pbkdf2PBKDF2?

asAs far as I know pbkdf2, PBKDF2 uses and underlying pseudorandom function in order to generate a hash (like SHA256) so as far I understood pdkdf2PBKDF2 is basically a hash function that uses an underlying function in order to generate a hash but what I don't understand is that what's the point of hmac here? I

I expected to use something like PBKDF2WithSHA512 instead of PBKDF2WithHmacSHA512 and I really can't understand what's the point of hmacHMAC.

What's the use of Hmac in pbkdf2?

as far as I know pbkdf2 uses and underlying pseudorandom function in order to generate a hash (like SHA256) so as far I understood pdkdf2 is basically a hash function that uses an underlying function in order to generate a hash but what I don't understand is that what's the point of hmac here? I expected to use something like PBKDF2WithSHA512 instead of PBKDF2WithHmacSHA512 and I really can't understand what's the point of hmac

What's the use of HMAC in PBKDF2?

As far as I know, PBKDF2 uses and underlying pseudorandom function in order to generate a hash (like SHA256) so as far I understood PBKDF2 is basically a hash function that uses an underlying function in order to generate a hash but what I don't understand is that what's the point of hmac here?

I expected to use something like PBKDF2WithSHA512 instead of PBKDF2WithHmacSHA512 and I really can't understand what's the point of HMAC.

Source Link

What's the use of Hmac in pbkdf2?

as far as I know pbkdf2 uses and underlying pseudorandom function in order to generate a hash (like SHA256) so as far I understood pdkdf2 is basically a hash function that uses an underlying function in order to generate a hash but what I don't understand is that what's the point of hmac here? I expected to use something like PBKDF2WithSHA512 instead of PBKDF2WithHmacSHA512 and I really can't understand what's the point of hmac