microsoft / cal-open-library

C/AL Open Library is a repository for .NET Interop wrappers that will be included into Dynamics 365 for Financials and usable from Extensions V2
MIT License
86 stars 52 forks source link

Add symmetric encryption & tests #112

Open quadfin opened 6 years ago

quadfin commented 6 years ago

Added wrappers for DotNet classes: System.Security.Cryptography.SymmetricAlgorithm System.Security.Cryptography.HashAlgorithm System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.CryptoStream

Modified existing wrappers: Codeunit 3000 DotNet_Array Codeunit 3025 DotNet_StreamWriter Codeunit 3027 DotNet_StreamReader

Added new codeunit: Symmetric Encryption Mgt

Added/modified tests for all changes.

JesperSchulz commented 5 years ago

Does this one replace #80 and #81? Or should we process both?

quadfin commented 5 years ago

Yes, this one replaces 80,81 -- I just closed those two.

JesperSchulz commented 5 years ago

Perfect! Thanks! We'll look into it soon! We're currently looking into a larger effort to expose a few, much used, .NET libraries. Encryption is part of that effort and there is hence quite some overlap. We'll keep you posted!

gunnargestsson commented 5 years ago

Can you make sure that the ClosedXML is a part of that .NET libraries added...

quadfin commented 5 years ago

Sorry to bother -- can you provide an update on this request? Thanks.

gunnargestsson commented 5 years ago

What do you want me to update?

JesperSchulz commented 5 years ago

We’re still on track to include some form of implementation of this in the next major! It will be released as part of our Spring Release. If we have questions, we’ll get back to you.

quadfin commented 5 years ago

Just downloaded / installed the BC Spring update -- was hoping to see this pull or some other symmetric encryption implementation in it but no luck. Are there plans for symmetric encryption support in BC?