## encryptSHA256() function

Encrypts a string with SHA256 encryption.

**Signature:**

```typescript
export declare function encryptSHA256(str: string): Promise<ArrayBuffer>;
```

## Parameters

| Parameter | Type   | Description                             |
|-----------|--------|-----------------------------------------|
| str       | string | The unencrypted input string.          |

**Returns:**

Promise<ArrayBuffer>

The encrypted value in an ArrayBuffer.
