Files
purepycrypto/purepycrypto/tests/vectors/blake2b.json
T
dvs 0d69391aa9 Release v3.2.0: pure-Python cryptography library (English docs/comments/errors)
- Zero-dependency pure-Python cryptography: SHA-2 / SHA-3 / SHAKE / BLAKE2b,
  HMAC, PBKDF2 / HKDF / scrypt / Argon2id, AES (ECB/CBC/CTR/CFB/OFB/GCM),
  AES-GCM-SIV, ChaCha20-Poly1305 / XChaCha20-Poly1305, X25519, Ed25519,
  RSA (keygen / OAEP / PSS / PEM), ASN.1 DER
- Unified error system: PPYC_ERR fatal exception vs (code, message, suggestion)
  non-fatal 3-tuple return
- Interactive TUI (Chinese / English i18n) + non-interactive CLI
- v3.2.0 adds the encoding, rand and kdf2 modules
- Documentation, code comments and error messages fully in English;
  the interactive TUI keeps its Chinese interface
- Tests: RFC / FIPS / NIST test vectors, 639 passing
2026-09-27 09:40:12 +08:00

12 lines
1.0 KiB
JSON

{
"_comment": "BLAKE2b-512 test vectors. Source: RFC 7693 and the canonical BLAKE2 reference test vectors. All digests independently verified with Python hashlib.blake2b.",
"name": "blake2b",
"source": "RFC 7693 / BLAKE2 reference",
"digest_size": 64,
"cases": [
{"id": "blake2b512_empty", "algorithm": "blake2b", "msg_utf8": "", "digest_hex": "786a02f742015903c6c6fd852552d272912f4740e15847618a86e217f71f5419d25e1031afee585313896444934eb04b903a685b1448b755d56f701afe9be2ce"},
{"id": "blake2b512_abc", "algorithm": "blake2b", "msg_utf8": "abc", "digest_hex": "ba80a53f981c4d0d6a2797b69f12f6e94c212f14685ac4b74b12bb6fdbffa2d17d87c5392aab792dc252d5de4533cc9518d38aa8dbf1925ab92386edd4009923"},
{"id": "blake2b512_fox", "algorithm": "blake2b", "msg_utf8": "The quick brown fox jumps over the lazy dog", "digest_hex": "a8add4bdddfd93e4877d2746e62817b116364a1fa7bc148d95090bc7333b3673f82401cf7aa2e4cb1ecd90296e3f14cb5413f8ed77be73045b13914cdcd6a918"}
]
}