Added spacing and padding support. (Note of known bug: For some reason, using the spacing combined with the auto compute feature causes an infinite loop, causing the program to crash.
This commit is contained in:
parent
6ad518d242
commit
f33ec5a5c9
@ -48,10 +48,10 @@ namespace WindowsFormsApplication1
|
||||
decimalNum = long.Parse(decimalTextBox.Text);
|
||||
hexNum = Convert.ToInt64(hexTextBox.Text, 16);
|
||||
// Remove spacing from binaryTextBox before parsing it
|
||||
if (spacingToggle.Checked)
|
||||
{
|
||||
//if (spacingToggle.Checked)
|
||||
//{
|
||||
binaryTextBox.Text = binaryTextBox.Text.Replace(" ", "");
|
||||
}
|
||||
//}
|
||||
binNum = Convert.ToInt64(binaryTextBox.Text, 2);
|
||||
octalNum = Convert.ToInt64(octalTextBox.Text, 8);
|
||||
paddingOffset = int.Parse(paddingOffsetTextBox.Text);
|
||||
|
@ -11,7 +11,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>M1+IlQiQJ4OfFXw+8V52dd47UwQ=</dsig:DigestValue>
|
||||
<dsig:DigestValue>is8iki4tHpHxcj7xk6PtMOGvK6g=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
Binary file not shown.
@ -59,7 +59,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>UiwtToWaxlHHmAc6iXW07oBqZio=</dsig:DigestValue>
|
||||
<dsig:DigestValue>TKjFfY6QSkvgFQb19kmMEE77U3c=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
Binary file not shown.
@ -11,7 +11,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>M1+IlQiQJ4OfFXw+8V52dd47UwQ=</dsig:DigestValue>
|
||||
<dsig:DigestValue>is8iki4tHpHxcj7xk6PtMOGvK6g=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
@ -11,7 +11,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>T6QWW3Qg+tUpR//ug7OKRNNmlHE=</dsig:DigestValue>
|
||||
<dsig:DigestValue>mDLG44v7KsnonUzi6IWYFrWhCBM=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
Binary file not shown.
@ -59,7 +59,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>5mrUB0E2d6uuikMf2WE6QZViJf4=</dsig:DigestValue>
|
||||
<dsig:DigestValue>0TNjtuaUrzVnT4W+pfY2BKrVZWs=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
Binary file not shown.
@ -11,7 +11,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>M1+IlQiQJ4OfFXw+8V52dd47UwQ=</dsig:DigestValue>
|
||||
<dsig:DigestValue>is8iki4tHpHxcj7xk6PtMOGvK6g=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
Binary file not shown.
Binary file not shown.
@ -59,7 +59,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>UiwtToWaxlHHmAc6iXW07oBqZio=</dsig:DigestValue>
|
||||
<dsig:DigestValue>TKjFfY6QSkvgFQb19kmMEE77U3c=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
Binary file not shown.
@ -11,7 +11,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>T6QWW3Qg+tUpR//ug7OKRNNmlHE=</dsig:DigestValue>
|
||||
<dsig:DigestValue>mDLG44v7KsnonUzi6IWYFrWhCBM=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
Binary file not shown.
@ -59,7 +59,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>5mrUB0E2d6uuikMf2WE6QZViJf4=</dsig:DigestValue>
|
||||
<dsig:DigestValue>0TNjtuaUrzVnT4W+pfY2BKrVZWs=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user