C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Vignesh Kumar(4)
Mahesh Chand(3)
Sandhiya Priya(2)
Tuhin Paul(2)
Sangeetha S(2)
Nikunj Satasiya(2)
Ziggy Rafiq(2)
Vijayaragavan S(2)
Sangeetha Sundaramoorthy(2)
Nilesh Jadav(2)
Saineshwar Bageri(2)
subramanya m(1)
Deepak Tewatia(1)
Sardar Mudassar Ali Khan (1)
Pratik Chavan(1)
Raj Bhatt(1)
Sandeep Nandey(1)
Lakshan Sulochana Fernando (1)
Dashrath Hapani(1)
Subarta Ray(1)
Velladurai (1)
Sarthak Varshney(1)
Vikas Gupta(1)
Kirtesh Shah(1)
Keyur (1)
Ajay Kumar(1)
Vaibhav Patil(1)
Naimish Makwana(1)
Uday Dodiya(1)
Aymen Amri(1)
Saad Aslam(1)
Ecco Suprastyo(1)
Santhosh Teja(1)
Vivek Kumar(1)
Mahesh Verma(1)
Priyaranjan K S(1)
Arvind Singh(1)
Sijo Vincent(1)
Jaydip Trivedi(1)
Mahsa Hassankashi(1)
Janak Shrestha(1)
Shubham Kumar(1)
Ajay Yadav(1)
Selva Ganapathy(1)
Ramesh Maruthi(1)
Manish Dwivedi(1)
Rumman Siddiqui(1)
Abhishek Dubey(1)
Aarti (1)
Soft Corner(1)
Krishna Garad(1)
Srihari Chinna(1)
Brijesh Jalan(1)
Diptimaya Patra(1)
Dipal Choksi(1)
Sushmita Kumari(1)
Moses Soliman(1)
Nenad Djodievic(1)
Resources
No resource found
Design a Encrypt and decrypt text file in Tailwind CSS
May 11, 2026.
Build a secure web app with Tailwind CSS to encrypt and decrypt text files or messages. Includes text input, encryption/decryption functions, file support, and a responsive UI. Learn to create a user-friendly encryption tool with HTML, CSS, and JavaScript.
Why you should Stop using TripleDESCryptoServiceProvider
Nov 28, 2025.
A simple and clear explanation of why the .NET TripleDESCryptoServiceProvider class is deprecated, what risks it carries, and what developers should use instead—based on a real code review while working with JWT implementations.
Encrypt using JavaScript and Decrypt using C#
Nov 06, 2025.
Secure your data! Learn AES encryption with CryptoJS in JavaScript and .NET. Protect sensitive info by encrypting on the client-side and decrypting on the server.
How to Encrypt PAN in JavaScript and Decrypt in C#
Nov 06, 2025.
Secure sensitive data like PAN by encrypting it client-side with CryptoJS, decrypting server-side in C#, and preventing storage in ViewState. Protect data in transit and at rest.
Decoder Program for Secure Cipher Text using Python
Oct 08, 2025.
Explore secure decryption with Python using AES-GCM. This article provides a production-ready decoder implementation, emphasizing the critical role of decryption in maintaining data integrity and preventing malicious attacks. Learn best practices for safe decryption, including validation, nonce handling, and secure key storage. Understand how a robust decoder ensures trust in high-stakes environments, protecting decisions in action.
A Well-Known Cryptographic Technique: Cipher Text Using Python
Oct 08, 2025.
Explore cipher text, the cornerstone of digital security, with a real-world example of securing drone medical deliveries in Rwanda. This article demystifies encryption using AES-GCM in Python, providing error-free code and best practices for safeguarding sensitive data. Learn how to protect against data breaches and ensure data integrity in today's connected world.
Encrypting Sensitive Data in ASP.NET Core Applications
Sep 15, 2025.
Secure your ASP.NET Core applications by encrypting sensitive data! Learn best practices for protecting connection strings, API keys, and personal information using the Data Protection API and AES encryption. Discover how to store keys securely in Azure Key Vault, encrypt database fields, and implement key rotation for enhanced security. Protect user data and comply with regulations like GDPR and PCI DSS by implementing robust encryption strategies.
Implementing Encryption and Decryption in Cypress using Node.js Crypto Module
Jul 30, 2025.
This document provides a technical guide on how to implement encryption and decryption in Cypress using the Node.js built-in crypto module. This is particularly useful for securely handling sensitive data such as passwords or tokens during test execution.
How do I implement encryption for PHI at rest and in transit?
Jul 12, 2025.
Learn how to encrypt Protected Health Information (PHI) using AES-256, HSM-backed key management, TLS 1.3 configuration, and hardware security modules. Practical guidance for developers.
Mastering Encryption and Decryption in C# with a Console Project
Jul 11, 2025.
This article explains encryption and decryption, their importance for data security, how algorithms, keys, and hashing work, and when to use them to protect sensitive data, ensure privacy, and maintain compliance.
Secure API Payloads Using AES and RSA Encryption in Angular and .NET Core
Jun 11, 2025.
Learn how to secure API payload using AES and RSA encryption in Angular and .NET Core. This step-by-step guide covers hybrid encryption, key exchange, and best practices for protecting sensitive data in web applications.
Enforcing AES for Kerberos: A Practical Guide
Apr 24, 2025.
Learn how to configure domain controllers, update policy settings, modify registry keys, and test your setup to ensure stronger, modern encryption for secure authentication.
Implementing Data Protection and Encryption with System.Security.Cryptography
Mar 30, 2025.
Learn how to implement data protection and encryption in C# using the System.Security.Cryptography namespace.
How to Encrypt the SQLite DB File using AES
Feb 17, 2025.
using the AES Algorithm to encrypt the SQLite DB file. Learn how to encrypt an SQLite database file in .NET C# using AES encryption. This guide covers key generation, IV usage, hashing with SHA256, and secure file encryption using CryptoStream and FileStream.
Excel Sheet Encryption using AES encryption in .Net
Dec 23, 2024.
Learn how to use AES encryption in C# to secure data by encrypting and decrypting files, including CSV or Excel. Explore FileStream, CryptoStream, and the System.Security.Cryptography namespace for robust data protection.
AES Encryption in C# Protecting Sensitive Information
Dec 12, 2024.
Discover how to effectively implement AES encryption in C# to secure sensitive data in real-world applications, enhancing data privacy and security.
Encryption and Decryption using AES in .NET Core and .NET Framework
Sep 02, 2024.
AES (Advanced Encryption Standard) is a symmetric encryption algorithm using the same key for both encryption and decryption. In C#, AES encryption involves setting up a RijndaelManaged instance with a key, IV, and mode (e.g., CBC). Data is encrypted using CryptoStream and then encoded to Base64. Decryption reverses this process.
Encryption and Decryption using AES (Symmetric) in Angular
Aug 30, 2024.
AES (Advanced Encryption Standard) is a symmetric encryption algorithm used for secure data transmission. Implement AES in Angular using the crypto-js library, supporting modes like CBC, ECB, and CTR, with various padding options. Encrypt and decrypt data securely using UTF-8 keys and initialization vectors.
RSA Encryption and Decryption in .NET Core and Framework Explained
Aug 30, 2024.
The RSA algorithm is an asymmetric cryptography method that uses a pair of keys: a public key for encryption and a private key for decryption. This example demonstrates how to use the BouncyCastle library in C# to encrypt data with a public key and decrypt it with a private key, ensuring secure data transmission.
Encryption and Decryption using RSA (asymmetric) in Angular
Aug 30, 2024.
This guide explores implementing RSA asymmetric encryption and decryption in Angular. It covers how to integrate RSA public and private key pairs for secure data transmission.
Encrypting and Decrypting Files using .NET Core
Jul 28, 2024.
Learn how to implement AES encryption and decryption in .NET Core with a detailed guide. Secure your sensitive data using systematic file encryption techniques. This comprehensive tutorial will equip .NET developers with the necessary skills to enhance data security effectively.
C# Method Designed to Make a POST Request to a Web API Endpoint
Jul 04, 2024.
This guide covers API integration in C#, detailing serialization, encryption, HTTP requests, and error handling. Learn how to set up an API integration method, handle responses, and follow best practices for security, error handling, and asynchronous operations to build robust and secure applications.
How Secure Sockets Layer (SSL) Protects Data Online?
May 07, 2024.
Learn how SSL works in a step-by-step guide for beginners and professionals, ensuring secure internet communication and data protection.
Encryption for Data Security: Creating Digital Certificates
May 06, 2024.
Encryption secures data by converting it into unreadable ciphertext using algorithms and keys, preventing unauthorized access. SSL/TLS certificates enable secure communication between websites and users, validating identity and encrypting data transmission
ASP.NET Core Data Protection API
Dec 11, 2023.
ASP.NET Core Data Protection API. In web applications, ensuring authenticity is pivotal during round trips. This article delves into the Asp.Net Core Data Protection API, discussing its implementation in web applications, API methods, and prerequisites using .Net Core 6.0 and Visual Studio 2022. Explore cryptographic solutions for data protection, key management, and rotation.
TripleDES Encryption and Decryption in C#
Oct 16, 2023.
Encryption is the process of rendering data unreadable to safeguard it from unauthorized access. It's widely applied in banking, e-commerce, communication, and security. TripleDES (Triple Data Encryption Standard) is a long-standing encryption method, utilizing three 56-bit keys for both encryption and decryption, also known as symmetric-key encryption. This article delves into TripleDES, elucidating its workings, strengths, and limitations. It compares TripleDES with contemporary encryption methods, placing it within the context of modern cryptography.
Create Encrypted AES Files and Decrypt AES Encrypted Files in C#
Oct 06, 2023.
How to Create Encrypted AES Files and Decrypt AES Encrypted Files in C#
How to Decrypt data using RSA algorithm in C#?
Oct 03, 2023.
In this article, we have sample code for decrypt an encrypted data with help of RSA Decryption algorithm and .pfx file which contains private key for decryption.
Security ASP.net Core MVC (C#) Encryption and Decryption
Sep 19, 2023.
On the topic of "Security in ASP.NET Core MVC (C#): Encryption and Decryption," Ziggy Rafiq has written an insightful article. As Ziggy explores encryption and decryption techniques, he offers valuable insights for developers as well as security enthusiasts about how to secure web applications built on ASP.NET Core MVC.
Best Practices for Maintaining Security and Preventing Vulnerabilities in C#
Sep 01, 2023.
Explore essential security practices in C# programming with Ziggy Rafiq, covering password hashing, input validation, SQL injection prevention, cryptography, HTTPS, secret management, and staying updated on security patches
Cryptography actions with File in Desktop flow using Microsoft Power Automate
Jun 16, 2023.
Reading this article, you can learn how to encrypt or decrypt a file using Encrypt from file with AES action and Decrypt to file with AES action with the Desktop flow in Microsoft Power Automate
Cryptography Actions with Plain Text in Desktop Flow using Microsoft Power Automate
Jun 15, 2023.
Reading this article, you can learn how to encrypt or decrypt plain text using Encrypt text with AES action and Decrypt text with AES action with Desktop flow in Microsoft Power Automate.
Encryption and Decryption in ASP.NET Windows Console Application using C#
May 22, 2023.
In this article, I have explained how to encrypt and decrypt the text using the AES Encryption standard. Open Visual Studio, Create a new console application.
GCM mode Encryption and Decryption in ASP.NET Console App
May 15, 2023.
In this article, I have explained how to encrypt and decrypt the text using AES Encryption standard using GCM mode.
Various Ways To Secure Sensitive Data In C#
Feb 13, 2023.
In this article we will see Various ways to secure sensitive data in C# with example.
Best Algorithm For Encrypting And Decrypting A String In C#
Jan 31, 2023.
In this article, we learn about how to encrypt and Decrypt a String in C#.
Introduction To Symmetric Encryption
Sep 21, 2022.
In this article, you will learn about Symetric Engryption.
Comparison Of TDEA And Rijndael Advance Encryption Standard (AES)
Jul 16, 2020.
This article covers the description of TDEA Algorithm, considerations for use of TDEA.Algorithm, security for TDEA Algorithm, and recommendations for reducing the risk. It also covers the origin of the Rijndael Algorithm, why AES replaced the TDEA algorithm, high-level description of Rijndael Algorithm, Decryption Process and Stability under attack
Advanced Encryption Standard (AES) In C#
Feb 14, 2020.
In this article, you will learn about advanced Encryption Standard (AES) in C#.
How To Encrypt And Decrypt In C# Using Simple AES Keys
Nov 25, 2019.
Learn how to encrypt and decrypt data in C# using simple AES keys. AES, a symmetric encryption algorithm, ensures secure communication by encoding and decoding messages.
Encryption And Decryption Using A Symmetric Key In C#
Mar 10, 2019.
In this article, we are going to learn how to use the symmetric key for encrypting and decrypting data in C#.
AES Encryption/Decryption With Angular 7
Jan 16, 2019.
In this article, I am going to explain AES encryption/decryption with Angular 7 so that we can communicate with each other securely via an Angular app.
AES Encryption In C#
Aug 31, 2018.
AesManaged class is a managed implementation of the AES algorithm. This article demonstrates how to use the AesManaged class to apply the AES algorithm to encrypt and decrypt data in .NET and C#.
Generating Symmetric Private Key In C# and .NET
Jul 07, 2018.
Generating Symmetric Private Key In C# and .NET. Major symmetric algorithms are AES, DES, RC2, Rijndael, and TripleDES. The GenerateKey and GenerateIV methods return the private secret key and initialization vector.
An Easy Way To Encode And Decode File In ASP.NET
Oct 13, 2017.
In this article, I’ll explain a way to encode and decode a file in ASP.NET using C# and VB.NET with example.
Implement Column Level Encryption/ Decryption In SQL Server 2016
Mar 17, 2017.
This article familiarizes you with implementing column level encryption/decryption in SQL Server 2016.
Introduction To AES And DES Encryption Algorithms In .NET
Feb 17, 2017.
Explore encryption methods like Symmetric (DES, 3DES, AES) and Asymmetric (RSA, DSA), highlighting key differences in key management, security, and performance. Understand DES vulnerabilities and advancements in AES. Learn about RSA, DSA, and their significance in secure data transmission.
Encryption and Decryption Using Cryptool
Dec 14, 2016.
Cryptool is an open-source freeware for encryption. In this article, learn how to encrypt and decrypt using Cryptool.
Hill Cipher In C#
Nov 11, 2016.
Hill Cipher is a polygraphic substitution cipher that encrypts and decrypts plaintext into ciphertext and vice versa using matrix operations. It is more secure than traditional Caesar ciphers and substitution ciphers. The algorithm works by breaking the plaintext into blocks and converting them into numerical values based on their position in the alphabet. These values are then multiplied by a matrix to produce the ciphertext.
What Is Encryption/Decryption And How It Is Used In ASP.NET
Aug 21, 2016.
In this article, you will learn what is encryption/decryption and how it is used in ASP.NET.
Encryption - Decryption In JavaScript Like A Student Thought
Nov 04, 2015.
In this article, you will learn about Encryption - Decryption in JavaScript.
Security On The Web By Advanced Encryption Standard (AES) and Security Assertion Markup Language (SAML)
Sep 23, 2015.
In this article you will learn security on the web by Advanced Encryption Standard (AES) and Security Assertion Markup Language (SAML).
Data Encryption And Decryption in C#
Sep 03, 2015.
In this article you will learn about data encryption and decryption in C#.
Text Encrypt and Decrypt With a Specified Key
Apr 08, 2015.
Encrypting and decrypting text with a specified key involves using cryptographic algorithms to convert plain text into cipher text and vice versa, ensuring data security. The key serves as the parameter for these operations.
Encrypt in JavaScript and Decrypt in C# With AES Algorithm in ASP.Net in MVC 4
Jan 26, 2015.
This article shows how to encrypt on the client side values in JavaScript and decrypt in C# with AES algorithm in ASP.NET MVC 4.
Encrypt in JavaScript and Decrypt in C# With AES Algorithm
Jan 18, 2015.
In this article I am going to show you how to encrypt Client side values in JavaScript and decrypt in C# with AES algorithm in ASP.NET web forms.
Bypassing Obfuscation: Ciphered Code Reverse Engineering
Nov 11, 2014.
In this article, we have performed reverse engineering over a protected binary by deep analysis of both obfuscated source code and MSIL assembly code.
Simple Steganography; Encryption and Decryption of Huge Messages of Any Language
Oct 31, 2013.
As we know, Steganography is the art and science of writing hidden messages in such a way that no one, apart from the sender and intended recipient, suspects the existence of the message. Here we hide the huge message within an image.
Registration Page Without Encryption and Decryption
Sep 06, 2013.
A basic registration page without any encryption and decryption.
Encrypting and Decrypting Cookies in ASP.NET 2.0
Feb 13, 2013.
This article demonstrate how to encode and decode cookies in ASP.NET 2.0
Secure Mailing
Dec 19, 2012.
This application an be used to encrypt a text message using AES encryption as well as send it to the person whose email is provided. This could be used as the security software for any of us. But to decrypt the encrypted text one must have the same application.
Working With Cipher Class in Java
Jun 05, 2012.
In this article, we are going to describe crypto graphic data security by using cipher class of java. I describe a Cipher class with its constructor or method details.
AES Encryption using 256 bit Encryption key and IV spec parameter
Nov 17, 2011.
AES is a strong algorithm to encrypt or decrypt the data. Java, .NET and C++ provide different implementation to achieve this kind of encryption.
Query String Encryption & Decryption Technique in ASP.Net 3.5
Mar 31, 2011.
ASP.Net 3.5 Query String Encryption & Decryption Technique.
Encryption and Decryption of Text in Asp.Net
Jan 21, 2011.
In this article we will see how to encrypt the messages and again decrypt the encrypted messages. Those days we need more sequrity for hiding our personal messages; .Net provide various ways to encrypt and again decrypt those messages.
Data Encryption and Decryption in SQL Server 2008
Nov 09, 2010.
Cryptography can be implemented in the SQL Server. This article explains about the encryption and decryption of data in SQL Server.
Public Key Encryption (RSA Method) for Encryption and Decryption in ASP.Net
Aug 19, 2010.
In this article we will learn how use Public Key Encryption for Encryption and Decryption in ASP.Net
Triple DES Encryption and Decryption in WPF
Feb 18, 2010.
In this article we will see how a set of data can be encrypted and saved in file and again while reading it should be readable/decrypted based on key.
Encrypting Connection Strings in ASP.Net 2.0
Oct 05, 2006.
This article describes how to encrypt the connection strings section in ASP.Net 2.0 web.config files and demonstrates the transperancy of using encrypted connection strings in your web application.
How Easy Cryptography is in VS.Net
Mar 08, 2006.
What can be done regarding the security issues? Part of the solution is to secure important data - more specifically, using strong encryption thats what we will see in this article.
Using the DPAPI through ProtectedData Class in .Net Framework 2.0
Jan 05, 2006.
The objective of this tutorial is to show how the DPAPI can be used to encrypt and decrypt data. Encrypt some data using ProtectedData Class in System.Security.Cryptography namespace and save it to a file. Show that the data can be decrypted using the same class but deferent method. Login as a different user,and show that the data cannot be decrypted.
File Encryption
May 05, 2002.
The classes in the .Net Framework cryptography namespace manage many details of cryptography for you.