public override void GenerateKey() { Key = new byte[KeySize/8]; // set the array to all 0 - implement a random key generation mechanism later probably based on PRNG for (int i=Key.GetLowerBound(0);i<Key.GetUpperBound(0);i++) { Key[i]=0; } }