How is your experience with the OutSystems Community?
23
Views
7
Comments
Solved
[CryptoAPI] Decrypt values that were encrypted on O11, using CryptoAPI
CryptoAPI
Forge asset by Version 1 Technology Limited
Application Type
Reactive, Service
Platform Version
11.41.0 (Build 46866)

Hi,

Is it possible to decryt values that were crypted on O11, using CryptoAPI?

Now that customers use Interoperability, to allow ODC applications to consume O11 entities, how can the ODC app decrypt a value that was encrypted in O11?

Are there any plans to make both versions, O11 & ODC, compatible?

(I'm assuming they are not because that's what customer reported on a meeting).

Many thanks

António

2026-02-26 15-00-54
Nelson Pinto
 
MVP
Solution

Yes, both are using BouncyCastle. I needed to match the ODC library to O11 library to meet this interoperability requirement. But now it seems it is working.

In case you need to check: here.

I have published this demo app, waiting for its approval.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi António,

I would assume both extensions would use standardized .NET encryption/decryption, and are therefore compatible. Did you actually try yourself whether it is possible to encrypt something in O11 and decrypt it in ODC?

2026-02-26 15-00-54
Nelson Pinto
 
MVP

Hi António,

So, I ran a few tests and if an encrypted text is encrypted using O11 CryptoAPI, it is not able to decrypt using ODC library. 

I did samples in both O11 & ODC, so if needed let me know and we can connect to go through it.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Interesting, as they both use the same underlying library I think? (BouncyCastle)

2026-02-26 15-00-54
Nelson Pinto
 
MVP
Solution

Yes, both are using BouncyCastle. I needed to match the ODC library to O11 library to meet this interoperability requirement. But now it seems it is working.

In case you need to check: here.

I have published this demo app, waiting for its approval.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
2020-02-27 13-49-28
António Barros
Staff

Thank you for your help. I ws still in the motion to do my tests but hit some technical details.


Nelson, I'll reach you on Slack.

Thank you both.

2020-02-27 13-49-28
António Barros
Staff

Hi,

Great news! There was a very tiny implementation detail that was different from O11 version and ODC one.

Nelson fixed it and now it works. Yeah!!!


Thank you

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.