Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# encrypt decrypt string

public static string Base64Decode(string base64EncodedData)
{
   var base64EncodedBytes = System.Convert.FromBase64String(base64EncodedData);
   return System.Text.Encoding.UTF8.GetString(base64EncodedBytes);
}
public static string Base64Encode(string plainText)
{
   var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText);
   return System.Convert.ToBase64String(plainTextBytes);
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: how to detect a null bool C# 
Csharp :: c# language 
Csharp :: paging thru result from mongodb in C# 
Csharp :: asp.netcore: develop on win10 run on ubuntu 
Csharp :: opération inter-threads non valide 
Csharp :: Damagehandler enemy 
Csharp :: c# datatable column alias 
Csharp :: image into sql database 
Csharp :: how to make a console feedback 
Csharp :: get all controlswpf 
Csharp :: c# message box carriage return 
Csharp :: c# printwindow 
Csharp :: tmpro pageCount update 
Csharp :: telerik mvc grid editable date no time 
Csharp :: unity generate random offset position around a gameobject 
Csharp :: is and as in c# 
Csharp :: Retrieving a value in one class that is set in another 
Csharp :: c# uint 
Csharp :: C# Create Swiss QR-Bill API 
Csharp :: c# half hour dropdown list 
Csharp :: VideoPlayer.isPlaying 
Csharp :: unity 3d animator live link 
Csharp :: .net disable show exception 
Csharp :: c# get Full Exception message if InnerException is not NULL 
Csharp :: IOS app crashing on ios 15 unity 
Csharp :: python mokeypatch asser called 
Csharp :: web socket background.js example 
Csharp :: c# custom comment tags 
Csharp :: c# user name session 
Csharp :: Here we create a MigraDoc Document object to draw the content of this page 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =