Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.
This repository was archived by the owner on Sep 25, 2021. It is now read-only.

Error in md5 large file #26

Open
Open

Description

@Lionad-Morotar

Error when md5(aLongString)

image

Should I do this ?

image

Activity

  1. blueimp commented on Jan 26, 2020

    @blueimp
    Owner

    Unfortunately, this library is not suitable to hash large input data - its original use case was to hash email addresses for use with the Gravatar service.
    If you have a need to hash large input input data you might wanna use an alternative implementation instead, maybe one that makes use of streams.

    I wouldn't catch the "string too long" error in the library itself, but either test the input before passing it in or wrap the md5 invocation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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