Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
herboren authored Mar 8, 2023
1 parent 4418344 commit cfc4249
Show file tree
Hide file tree
Showing 5 changed files with 1,011 additions and 0 deletions.
20 changes: 20 additions & 0 deletions About.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace IntegralHashing
{
public partial class About : Form
{
public About()
{
InitializeComponent();
}
}
}
27 changes: 27 additions & 0 deletions GlobalSuppressions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.

using System.Diagnostics.CodeAnalysis;

[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.frmImport.ImportHashList(System.Windows.Forms.OpenFileDialog)")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "type", Target = "~T:IntegralHashing.StringStorage")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.teExport.OpenExcelWorksSheet")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.teExport.ExportHashColumnsCells(System.Int32,System.Int32,System.String)")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.teExport.SaveExcelWorkbook(System.String)")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.teImport.TextImport(System.String)~System.String")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.teImport.XlsxImport(System.String)~System.String")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.frmMain.BeginMatch(System.Object,System.Windows.Forms.FormClosedEventArgs)")]
[assembly: SuppressMessage("Style", "IDE0059:Unnecessary assignment of a value", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.frmMain.BeginMatch(System.Object,System.Windows.Forms.FormClosedEventArgs)")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.frmMain.DumpFilesAndInfoToView(System.Windows.Forms.FolderBrowserDialog)")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.frmMain.GetFileSize(System.Double)~System.String")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.teExport.ExportHashColumnsCells(System.Int32,System.Int32,System.Windows.Forms.ListView)")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.teExport.ExportText(System.Windows.Forms.ListView)~System.Text.StringBuilder")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.teExport.SaveFileDocument(System.String,System.Text.StringBuilder)")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.tImport.TextImport(System.String,System.Windows.Forms.Label)~System.String")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.frmMain.ByteToStringConversion(System.Byte[])~System.String")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.frmMain.GetHashSha256(System.String)~System.Byte[]")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.frmMain.GetHashSha512(System.String)~System.Byte[]")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.frmMain.ImportHashList(System.Windows.Forms.OpenFileDialog)")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>", Scope = "member", Target = "~M:IntegralHashing.frmMain.ProcessHash(System.String,System.Int32)~System.String")]
26 changes: 26 additions & 0 deletions StringStorage.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;

namespace IntegralHashing
{
public class StringStorage
{
// Store imported hashes
public Dictionary<string, string> keyVal {get; set;}

public Dictionary<string, string> matched { get; set; }

public Dictionary<string, string> unique { get; set; }

// Stores hashed files for comparing to list
public List<string> hashed = new List<string>();

// Stores files paths obtained from directory
public List<string> absolute = new List<string>();

// Stores the directory
public string directory { get; set; }


}
}
Loading

0 comments on commit cfc4249

Please sign in to comment.