a little rename

This commit is contained in:
citizen 2020-01-21 05:26:17 +01:00
parent 58a331ddba
commit c82f88393d
Signed by: wanderer
GPG Key ID: A6FA3CA298BA2223

View File

@ -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";