mirror of https://github.com/dapr/docs.git
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:
parent
a76971c54b
commit
55fb8db332
|
@ -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
|
||||
// `encrypt` can be used as a Duplex stream
|
||||
|
|
Loading…
Reference in New Issue