Update daprdocs/content/en/developing-applications/building-blocks/cryptography/howto-cryptography.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
Signed-off-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
Mark Fussell 2023-06-07 09:33:08 -07:00 committed by GitHub
parent a76971c54b
commit 55fb8db332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ const ciphertext = await client.crypto.encrypt(plaintext, {
}); });
``` ```
The APIs can also be used with streams, to encrypt data more efficiently when it comes from a stream. In the example below, we are encrypting a file, writing to another file, using streams: The APIs can also be used with streams, to encrypt data more efficiently when it comes from a stream. The example below encrypts a file, writing to another file, using streams:
```js ```js
// `encrypt` can be used as a Duplex stream // `encrypt` can be used as a Duplex stream