alibaba / alibaba/yalantinglibs

Constexpr SHA-3 Implementation and To-Hex-Meta-String Support

Open
#904 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.2k
Forks
327
Avg merge
1d 20h
Merged PRs (30d)
2

Description

### Feature
Constexpr SHA-3 Algorithm Implementation.
A fundamental support for byte-array-to-hex-meta_string.
[https://doi.org/10.6028/NIST.FIPS.202](https://doi.org/10.6028/NIST.FIPS.202)

### Example
`//refvalue::meta_string{"4ACB502EEC4FE8ECDA6E0A8D386FFE6B9B24B8CE2E22F6C8ABC729EC521D361CD883044B720458DCC7472906CC49D9D5"}`

`constexpr auto hash = to_hexadecimal_meta_string(sha3_digest( "Whenever you want to, I can help.");`

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by reading the linked NIST FIPS 202 specification and locating the project's constexpr and meta_string entry points; done means a constexpr SHA-3 implementation and byte-array-to-hex meta_string support produce the shown SHA3-384 example.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.