# gtv.legacy_hash · Rell standard library · Chromia Docs (concept)

> pure static function legacy_ hash<T>(value: T, version: integer ): byte_array Deprecated ; use instead x.hash() for a value x of any type. Since 0.14.5

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/gtv/legacy_hash/

FUNCTION

# gtv.legacy\_hash

```signature
pure static function legacy_hash<T>(value: T, version: integer): byte_array
```

**Deprecated**; use instead `x.hash()` for a value `x` of any type.

Since 0.14.5

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/gtv/legacy_hash.html)Generated API reference, mirrored from the live docs
