/// <summary> /// Generates random key. Used internally and can be used to generate key for manual Encrypt() calls. /// </summary> /// <returns>Key suitable for manual Encrypt() calls.</returns> public static byte GenerateKey() { return(RandomUtils.GenerateByteKey()); }