Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Minor fixes #1

@RoyalXXX

Description

@RoyalXXX

Two lines should be added to the sha2.h header file:

#include <cstdint>
#include <string>

One line should be added to the sha2.cpp:
#include <cstdint>

The program is not working correctly, you need to fix one line in the sha2.cpp file as well:

chunk[j] = std::stoull(raw.substr(j*64, 64), nullptr, 2);

I mean, stoul -> stoull

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