static byte[] CombineN(KeyShare[] Shares) { var KeyBytes = Shares[0].Key.Length; byte[] Result = new byte[KeyBytes - 1]; foreach (var Share in Shares) { ArrayXOR1(Result, Share.Key); } return Result; }