Skip to content

Allow base64 encoded sha256 hash to be looked up on /v1/lookup/hash/{hash} #69

@0xdevalias

Description

@0xdevalias

Currently the lookup API endpoint allows specifying a hex-encoded sha256 hash to be looked up:

But looking at some of the other API endpoints, in their responses they provide base64 encoded sha256 hashes, eg.

While I could obviously write some glue code to convert this; it would be nice if we were able to provide the base64 encoded version directly; with the API either automatically detecting the hash type, or even if we had to specify an extra param to tell it which encoding we're providing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions