decentralized-identity / bbs-signature

The BBS Signature Scheme
https://identity.foundation/bbs-signature/draft-irtf-cfrg-bbs-signatures.html
Apache License 2.0
79 stars 26 forks source link

Mistake in Test Vector for SHA-256 MsgToScalars #311

Open roblesjoel opened 10 months ago

roblesjoel commented 10 months ago

In the Test vector "D.2.3. Hash to Scalar Test Vectors" the dst is "4242535f424c53313233383147315f584d443a5348412d3235365f535357555f524f5f4832475f484d32535f4832535f"

in your own files the used dst is as follows: "4242535f424c53313233383147315f584d443a5348412d3235365f535357555f524f5f4832475f484d32535f4d41505f4d53475f544f5f5343414c41525f41535f484153485f"

With the dst in your files the test vector works