fix: correct return type inconsistencies in docs

This commit is contained in:
Dergousov 2024-08-22 20:44:52 +03:00
parent ef9fbe3006
commit a2ff8e4384
2 changed files with 5 additions and 5 deletions

View File

@ -689,9 +689,8 @@ SELECT kostikConsistentHash(16045690984833335023, 2);
```
## ripeMD160
Produces [RIPEMD-160](https://en.wikipedia.org/wiki/RIPEMD) hash of a string and returns the resulting set of bytes as [FixedString](../data-types/fixedstring.md).
Produces [RIPEMD-160](https://en.wikipedia.org/wiki/RIPEMD) hash value.
**Syntax**
@ -705,7 +704,7 @@ ripeMD160('input')
**Returned value**
- A [UInt256](../data-types/int-uint.md) hash value
- A [UInt256]((../data-types/int-uint.md)) hash value where the 160-bit RIPEMD-160 hash is stored in the first 20 bytes. The remaining 12 bytes are zero-padded.
**Example**
Use the [hex](../functions/encoding-functions.md/#hex) function to represent the result as a hex-encoded string.

View File

@ -125,7 +125,8 @@ SELECT hex(sipHash128('foo', '\x01', 3));
```
## ripeMD160
Генерирует [RIPEMD-160](https://en.wikipedia.org/wiki/RIPEMD) хеш строки и возвращает полученный набор байт в виде [FixedString](../data-types/fixedstring.md).
Генерирует [RIPEMD-160](https://en.wikipedia.org/wiki/RIPEMD) хеш строки.
**Синтаксис**
@ -139,7 +140,7 @@ ripeMD160('input')
**Возвращаемое значение**
- [UInt256](../data-types/int-uint.md) хеш-значение
- [UInt256](../data-types/int-uint.md), где 160-битный хеш RIPEMD-160 хранится в первых 20 байтах. Оставшиеся 12 байт заполняются нулями.
**Пример**
Используйте функцию [hex](../functions/encoding-functions.md#hex) для представления результата в виде строки с шестнадцатеричной кодировкой