I'm tasked with writing a bridge program to encrypt some data that will be consumed by a legacy app. The legacy app uses an old library that does RC2 encryption. Specifically it is using a block size of 8 bytes and key size of 16 bytes. The new program must be .Net Core. I didn't see any such libraries available.
Before anyone asks, yes that encryption is out-dated and insecure. No, I cannot change the legacy app.
RC2 is not available in .NET Core 1.0 or 1.1. It will be available in .NET Core 2.0.
cref https://github.com/dotnet/corefx/pull/12744. The PR added RC2 to .NET Core 2.0. This means you might be able to get this working using daily builds of .NET Core.
In the meantime, you can use RC2 on .NET Framework by using the RC2CryptoServiceProvider API.