Skip to content

Block sizes incorrect #1

Description

@RicardoCampos

SHA-256 has a block size of 64 bytes
SHA-512 has a block size of 128 bytes

In both cases, we use the block size of SHA-1 which is 20 bytes. Furthermore the other algorithms use 128 bytes to store the password. This is "lucky" in the sense that for SHA-512 it will store enough information, but is inefficient in the other cases and provides no security benefit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions