Horje
c# encrypt decrypt string Code Example
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);
}




Csharp

Related
c# regex number only Code Example c# regex number only Code Example
how to make multiplayer game in unity Code Example how to make multiplayer game in unity Code Example
how to check is object by this type c# Code Example how to check is object by this type c# Code Example
how to make error sound c# Code Example how to make error sound c# Code Example
.net core System.InvalidOperationException: No service for type 'Microsoft.AspNetCore.Http.IHttpContextAccessor' has been registered Code Example .net core System.InvalidOperationException: No service for type 'Microsoft.AspNetCore.Http.IHttpContextAccessor' has been registered Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11