File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Confluent.SchemaRegistry.Encryption.Azure Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ public bool DoesSupport(string uri)
3131 public async Task < byte [ ] > Encrypt ( byte [ ] plaintext )
3232 {
3333 var client = GetCryptographyClient ( ) ;
34- var result = await client . EncryptAsync ( EncryptionAlgorithm . RsaOaep , plaintext ) . ConfigureAwait ( false ) ;
34+ var result = await client . EncryptAsync ( EncryptionAlgorithm . RsaOaep256 , plaintext ) . ConfigureAwait ( false ) ;
3535 return result . Ciphertext ;
3636 }
3737
3838 public async Task < byte [ ] > Decrypt ( byte [ ] ciphertext )
3939 {
4040 var client = GetCryptographyClient ( ) ;
41- var result = await client . DecryptAsync ( EncryptionAlgorithm . RsaOaep , ciphertext ) . ConfigureAwait ( false ) ;
41+ var result = await client . DecryptAsync ( EncryptionAlgorithm . RsaOaep256 , ciphertext ) . ConfigureAwait ( false ) ;
4242 return result . Plaintext ;
4343 }
4444
@@ -51,4 +51,4 @@ private CryptographyClient GetCryptographyClient()
5151 return kmsClient ;
5252 }
5353 }
54- }
54+ }
You can’t perform that action at this time.
0 commit comments