Skip to content

pdkdf2_hmac2 #2

@MaemaOver

Description

@MaemaOver

Hello:
I have used the function PKCS5_PBKDF2_HMAC5() in the file pbkdf2_hmac.c, and the args is matched the shadowHashData that in the file /private/var/db/dsloca/nodes/Defaults/users/username.plist. But the result of the functions is not match the entropy that recoding in the username.plist.
Then I have used the function hashlib.pbkdf2_hmac in https://github.com/python/cpython/blob/4674b315e555828e5cb15bedcf2c495669670cbb/Lib/hashlib.py the project , and , this time, the result of the function is match entropy which recoding in the username.plist
So. should I do someting in your code can make the result match entropy that recoding in the username.plist with args in username.plist.
Expect for your reply.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions