java-sdk icon indicating copy to clipboard operation
java-sdk copied to clipboard

[Crypto] Implement support for EncryptAlpha1/DecryptAlpha1 APIs

Open ItalyPaleAle opened this issue 2 years ago • 0 comments

dapr/dapr#6197 implements two new APIs in Dapr:

  • EncryptAlpha1
  • DecryptAlpha1

Both APIs are stream-based, so the SDK is expected to read input as a stream, send it to Dapr using a streamed gRPC in chunks, and in parallel read the response from Dapr (in chunks sent over the same gRPC stream) and return a readable stream to the caller.

The reference implementation is in the Go SDK: dapr/go-sdk#387

ItalyPaleAle avatar Apr 05 '23 22:04 ItalyPaleAle