Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
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; |