Questions tagged [aescng]
2 questions
2
votes
0 answers
Decrypt RijndaelManaged in C++ (CNG)
The C# code below outputs 0123456789012345678901234567890123456789:
static void Main(string[] args)
{
byte[] salt = Encoding.ASCII.GetBytes("saltycrack");
…

Hans Malherbe
- 2,988
- 24
- 19
1
vote
1 answer
AES encryption key generation using AesCng
I am using AesCng to generate an encryption key using the code below:
using System;
using System.Security.Cryptography;
using System.Text;
namespace EncryptionTest
{
class Program
{
static void Main(string[] args)
{
…

java_geek
- 17,585
- 30
- 91
- 113