core.encryptsha256 | Medplum
encryptSHA256() function
Encrypts a string with SHA256 encryption.
Signature:
export declare function encryptSHA256(str: string): Promise<ArrayBuffer>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| str | string | The unencrypted input string. |
Returns:
Promise
The encrypted value in an ArrayBuffer.