aligned data types not supported in managed code.
I successfully added cryptolib to my project now it is just fussing over this.
here's the code I'm trying to compile it is in vc++
private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
String^ TxT = textBox1->Text;
unsigned char HASH [32];
unsigned char byteval [32] = {0x53, 0x28, 0x40, 0x6e, 0x2f, 0x64, 0x63, 0x5d, 0x2d, 0x61, 0x77, 0x40, 0x76, 0x71, 0x77, 0x28,
0x74, 0x61, 0x7d, 0x66, 0x61, 0x73, 0x3b, 0x5d, 0x66, 0x6d, 0x3c, 0x3f, 0x7b, 0x66, 0x72, 0x36};
int nDatalength = sizeof(byteval);
// byteval = Convert::ToByte(textBox1->Text);
SHA256().CalculateDigest(HASH,byteval,nDatalength);
textBox3->Text = byteval;
}












