I need a simple algorithm to encrypt / decrypt a string. Something like Base64 but a little more secure. It is not mission critical. All I need is some string manipulation. Not as easy as copy the string and make it human readable using a simple base 64 decoder.
Why not using AES?
Since my app is created using .NET Core, it runs on windows and mac. The problem i am facing is that in order to use System.Security
on mac, i need openssl to be installed. Since i dont have sudo access, i cant install it.
So here are the requirements:
- Simple String Encryption
- No Dependencies on
System.Security.*
Ive read Simple insecure two-way "obfuscation" for C# but there is no solution without dependencies.