# Test vectors Spec examples and vectors used by the event core in Phase 2: canonical JSON, event hashing, the redaction algorithm, signatures and state resolution. Sources: - the Matrix specification's own examples (canonical JSON, signing) - [gomatrixserverlib](https://github.com/matrix-org/gomatrixserverlib) test vectors — the data, as a conformance check, not its code Each file keeps a note of where it came from.