Hello there

I don't know how to make this static array<Byte> desKey changeable.
The Encryption is Rijandel an I would like to enter a Passwort. This should be the key to encrypt / decrypt in 256-Bytes.
I work with MS Visual C++ 2008.

Code:
array<Byte>^ desKey = {0x05, 0x02, 0x12, 0x10, 0x17, 0x16, 0x22, 0x20, 0x01, 0x10, 0x11, 0x12, 0x13, 0x08, 0x15, 0x18, 0xC4, 0x22, 0xE0, 0xEF, 0xA1, 0xD3, 0x06, 0xA2, 0x01, 0x12, 0xEF, 0xE0, 0xA0, 0xD0, 0xC1, 0x22};
It should be a public function.
Please make an example of code.

kind regards

Roger