Unit tests for SHA functions

Worker(s): Ken Meier Reward: 1 Stars Completed

Background

Urbit relies on Hoon cryptographic functions. We want to make sure that these functions are correct.

Bounty Description

Write unit tests which confirm that the functions in section 3d of hoon.hoon (lines 3245 to 3665) behave as intended.

For each function, pull a list of standard input-output pairs from an authoritative source on the algorithm. Look at specifications requests for comment for the relevant algorithms. Other testing functionality is welcome.

Save the test file in the /tests/sys/hoon directory in Arvo. Use the same framework as the files that already exist in /tests.

Resources

Contribution Guidelines

Milestones

Your test file is merged

1 stars Your test file for all the relevant functions is accepted and merged.