Skip to content

Instantly share code, notes, and snippets.

View alexandre-tobia's full-sized avatar

Alexandre Tobia alexandre-tobia

View GitHub Profile
```  
private readonly AesCryptoServiceProvider AES = new AesCryptoServiceProvider();
public CryptClass(string EncryptKey)
{
// Initialize the crypto provider.
AES.Mode = CipherMode.ECB;
AES.Key = TruncateHash(EncryptKey, AES.KeySize / 8);
AES.IV = TruncateHash("", AES.BlockSize / 8);
AES.Padding = PaddingMode.PKCS7;
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
Name
</th>
<th scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
Slug
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.