> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# Crypto

## Functions

### hmac\_sha256

Calculates HMAC-SHA256 hash of the specified data.

```ts
hmac_sha256(key: string, data: string): string
```

**Parameters**

### md5

Calculates MD5 hash. Can be used with HTTP requests that require hash.

```ts
md5(data: string | string[]): string
```

**Parameters**

### sha1

Calculates SHA1 hash. Can be used with HTTP requests that require hash.

```ts
sha1(data: string): string
```

**Parameters**

### sha256

Calculates SHA256 hash of the specified data.

```ts
sha256(data: string): string
```

**Parameters**