/// <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 short GenerateKey() { return(RandomUtils.GenerateShortKey()); }