Associated Type: Hash

NOT part of the Activity Streams 2.0 Vocabulary.

Activity objects linking to external content such as audio, image or video files must include a "hash" field for users to validate linked content. The value of this "hash" field must be an array of objects representing multiple hashes. AT LEAST ONE hash in the array MUST be one of the supported algorithms although others may also be used.

algorithmYESThe algorithm of the given hash
valueYESHash value serialization

Supported Algorithms

AlgorithmDescriptionValue SerializationSpecification(s)
keccak256keccak-256 hashhexadecimalThe Keccak SHA-3 submission v3



  "hash": [
      "algorithm": "keccak256",
      "value": "0x1234567890ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"
      "algorithm": "Ripemd256",
      "value": "0x96a9209006748794193d1811ef2dd5f447782b8b1635841165bc031bb3db64da"