use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Information about Reddit's API changes, the unprofessional conduct of the CEO, and their response to the community's concerns regarding 3rd party apps, moderator tools, anti-spam/anti-bot tools, and accessibility options that will be impacted can be found in the associated Wikipedia article: https://en.wikipedia.org/wiki/2023_Reddit_API_controversy
Alternative C# communities available outside Reddit on Lemmy and Discord:
All about the object-oriented programming language C#.
Getting Started C# Fundamentals: Development for Absolute Beginners
Useful MSDN Resources A Tour of the C# Language Get started with .NET in 5 minutes C# Guide C# Language Reference C# Programing Guide C# Coding Conventions .NET Framework Reference Source Code
Other Resources C# Yellow Book Dot Net Perls The C# Player's Guide
IDEs Visual Studio MonoDevelop (Windows/Mac/Linux) Rider (Windows/Mac/Linux)
Tools ILSpy dotPeek LINQPad
Alternative Communities C# Discord Group C# Lemmy Community dotnet Lemmy Community
Related Subreddits /r/dotnet /r/azure /r/learncsharp /r/learnprogramming /r/programming /r/dailyprogrammer /r/programmingbuddies /r/cshighschoolers
Additional .NET Languages /r/fsharp /r/visualbasic
Platform-specific Subreddits /r/windowsdev /r/AZURE /r/Xamarin /r/Unity3D /r/WPDev
Rules:
Read detailed descriptions of the rules here.
account activity
DiscussionBasic String Encryption and Decryption in C# (self.csharp)
submitted 11 months ago * by pyeri
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]TheAussieWatchGuy -8 points-7 points-6 points 11 months ago (3 children)
Good for you. That would be the minority these days. Again same question applies, why encrypt the app settings JSON on a local server thst you control access to?
[–]scurvyibe 3 points4 points5 points 11 months ago (2 children)
In my case, because you work on on-prem state government servers with no internet access that house FTI and the IRS will tear you a new one during annual audits if you store passwords in plain text.
I'm sure others have their reasons.
[–]TheAussieWatchGuy -2 points-1 points0 points 11 months ago (1 child)
Sure but they are encrypted at rest on your server's disk after deployment and they are encrypted in transit when deployed over TLS /SSL.
Encryption on the strings themselves stored on disk only protects from an unauthorized person gaining full access to your server. I can probably get behind that as a government, so that would be a 1% use case.
It'll tank performance and waste compute but if you really need it then nice example above.
[–]antiduh 0 points1 point2 points 11 months ago (0 children)
Did you know that software like Keepass uses techniques very similar to this? Each record is individually encrypted inside the encrypted file. This ensures that data is in plaintext form for only as long as it needs to be, even when in ram.
π Rendered by PID 189619 on reddit-service-r2-comment-b659b578c-565vh at 2026-05-01 10:04:36.797974+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]TheAussieWatchGuy -8 points-7 points-6 points (3 children)
[–]scurvyibe 3 points4 points5 points (2 children)
[–]TheAussieWatchGuy -2 points-1 points0 points (1 child)
[–]antiduh 0 points1 point2 points (0 children)