![]() |
|
[C#] Help me convert this PHP code to C# - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] Help me convert this PHP code to C# (/showthread.php?tid=6058490) |
Help me convert this PHP code to C# - draxyee - Mar 20, 2020 PHP Code This is what I currently have: Code I'm getting this error: "System.FormatException: 'The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. '" This is what I'm using for AES-256-GCM (EncryptionService / iq.EncryptWithKey): https://github.com/lukemerrett/Bouncy-Castle-AES-GCM-Encryption If anyone can help me, I would be so appreciative. Cheers. |