a little rename
This commit is contained in:
parent
58a331ddba
commit
c82f88393d
|
@ -49,7 +49,7 @@ namespace KRY_0x02
|
||||||
bit_array.CopyTo(byte_array, 0);
|
bit_array.CopyTo(byte_array, 0);
|
||||||
return byte_array[0];
|
return byte_array[0];
|
||||||
}
|
}
|
||||||
public byte[] str_to_rev_binarray(string input)
|
public byte[] str_to_revbin_array(string input)
|
||||||
{
|
{
|
||||||
byte[] bA = Encoding.ASCII.GetBytes(input);
|
byte[] bA = Encoding.ASCII.GetBytes(input);
|
||||||
byte[] bAA = new byte[bA.Length * 8];
|
byte[] bAA = new byte[bA.Length * 8];
|
||||||
|
@ -81,7 +81,7 @@ namespace KRY_0x02
|
||||||
string message = m;
|
string message = m;
|
||||||
int counter = 0;
|
int counter = 0;
|
||||||
int counterzero = 0;
|
int counterzero = 0;
|
||||||
byte[] letters_to_code = str_to_rev_binarray(message);
|
byte[] letters_to_code = str_to_revbin_array(message);
|
||||||
string zero = "00001100";
|
string zero = "00001100";
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue