You are here

protected property LinkCollectionNormalizer::$hashSalt in JSON:API 8.2

A random string to use when hashing links.

This string is unique per instance of a link collection, but always the same within it. This means that link key hashes will be non-deterministic for outside observers, but two links within the same collection will always have the same hash value.

This is not used for cryptographic purposes.

Type: string

File

src/Normalizer/LinkCollectionNormalizer.php, line 63

Class

LinkCollectionNormalizer
Normalizes a LinkCollection object.

Namespace

Drupal\jsonapi\Normalizer

Code

protected $hashSalt;