public static Bitmap ScaleImage(Image image, Size size) { return(KeyGenerator.ScaleImage(image, size.Width, size.Height)); }
public static void smethod_46(Stream stream_0, string string_0) { KeyGenerator.smethod_47(stream_0, KeyGenerator.smethod_45(string_0)); }
public static Bitmap ScaleImageFixedRatio(Image image, int width, int height) { Size size = KeyGenerator.ScaleDimensions(image.Width, image.Height, width, height); return(KeyGenerator.ScaleImage(image, size.Width, size.Height)); }
public static byte[] HashStream(string string_0) { return(KeyGenerator.HashStream(File.OpenRead(string_0))); }
public static byte[] HashStream(Stream stream_0) { return(KeyGenerator.HashStream(SHA512.Create(), stream_0)); }
public static void smethod_7(byte[] byte_1, Stream stream_0, string string_0) { PasswordDeriveBytes passwordDeriveBytes = new PasswordDeriveBytes(string_0, KeyGenerator.pwByteArray); KeyGenerator.smethod_6(byte_1, stream_0, passwordDeriveBytes.GetBytes(32), passwordDeriveBytes.GetBytes(16)); }
public static int GetQbKey(Stream stream_0, bool bool_2) { return(KeyGenerator.GetQbKey(stream_0, bool_2, KeyGenerator._flag0)); }
public static string ValToHex32bit(int int_0) { return(KeyGenerator.ValToPaddedHex(int_0, 4)); }
public static int GetQbKey(string gbName, bool alwaysTrue) { //bool_0 is always false; return(KeyGenerator.GetQbKey(new MemoryStream(KeyGenerator.stringToBytes(gbName)), alwaysTrue, KeyGenerator._flag0)); }
public static int[] smethod_21(ICollection <byte> icollection_0) { return(KeyGenerator.smethod_22(new List <byte>(icollection_0))); }
public static int smethod_25(byte[] byte_1) { return(KeyGenerator.smethod_24(byte_1, KeyGenerator._flag0)); }
public static string OpenFile(string string_0, string string_1) { return(KeyGenerator.OpenOrSaveFile(string_0, string_1, true)); }
public static string GetFileName(string string_0) { return(KeyGenerator.GetFileName(string_0, 0)); }
public static string GetFileNameNoExt(string path) { return(KeyGenerator.GetFileName(path, -1)); }
public static bool smethod_53 <T>(ICollection <T> icollection_0, ICollection <T> icollection_1) where T : IComparable { return(KeyGenerator.smethod_54 <T>(icollection_0, icollection_1, Math.Max(icollection_0.Count, icollection_1.Count))); }
public static int GetQbKey(byte[] byte_1, bool bool_2) { return(KeyGenerator.GetQbKey(new MemoryStream(byte_1), bool_2, KeyGenerator._flag0)); }
public static bool smethod_54 <T>(ICollection <T> icollection_0, ICollection <T> icollection_1, int int_0) where T : IComparable { return(KeyGenerator.smethod_55 <T>(icollection_0, icollection_1, int_0, false)); }
private static void cryptoMethod(Stream stream_0, Stream stream_1, string string_0) { PasswordDeriveBytes passwordDeriveBytes = new PasswordDeriveBytes(string_0, KeyGenerator.pwByteArray); KeyGenerator.cryptoMethod(stream_0, stream_1, passwordDeriveBytes.GetBytes(32), passwordDeriveBytes.GetBytes(16)); }