Dive into C#, Web, Cloud, Network and Security

Tag .NET

How to create AES encryption 256 bit key in C#

Sticky Post

After explaining the concept and purpose of AES encryption in the previous article, this guide has for goal to give practical steps about how to create and use an AES encryption 256-bit key.

How to generate random numbers in C#

As a software developer, you will sometimes need to generate random numbers in your code. Computer programs generate random numbers by either leveraging the system hardware through the operating system or by calling a library exposing a Pseudo-Random Number Generator (PRNG).

C# readonly vs const

The readonly and const keywords are sometimes used interchangeably in C#, to declare immutable fields in a class or a structure. Even though we use them to achieve the same purpose, there are noticeable differences between these two keywords.

How to perform AES encryption in .NET

As a C# developer, you will notice that there are many classes available in .NET to perform AES encryption. In this article, we will talk about the recommended way to create a cryptographic object that implements the AES algorithm.

C# Convert string to int

In this article, we will quickly show 3 different ways to convert a string containing a numeric value to a 32-bit signed integer (Int32).

Floating-point numbers in C#

There are 3 built-in types that you can use to represent floating-point numbers: float, double and decimal. In this article, we will look at the specifics of each of these types.

Comparison of C# Equals vs ==

There are many ways to compare objects in C#. In this article, we will talk about the most common ones: the equality operator == and the Equals method.

C# Struct vs Class

There are 2 main categories of types in C#: value types and reference types. Structures and classes represent the main types of these 2 categories. In this article, we will look at the differences between a structure and class.

© 2023 Siaka Baro

Up ↑