summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Encrypt.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/Encrypt.cpp
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/Encrypt.cpp')
-rw-r--r--Stars45/Encrypt.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Stars45/Encrypt.cpp b/Stars45/Encrypt.cpp
index 48ffcdf..176d7d0 100644
--- a/Stars45/Encrypt.cpp
+++ b/Stars45/Encrypt.cpp
@@ -80,7 +80,7 @@ static void decypher(long* v)
sum=delta<<5;
while (n-->0) {
- z-= (y<<4)+k[2] ^ y+sum ^ (y>>5)+k[3];
+ z-= (y<<4)+k[2] ^ y+sum ^ (y>>5)+k[3];
y-= (z<<4)+k[0] ^ z+sum ^ (z>>5)+k[1];
sum-=delta;
}
@@ -91,7 +91,7 @@ static void decypher(long* v)
// +-------------------------------------------------------------------+
-Text
+Text
Encryption::Encrypt(Text block)
{
int len = block.length();
@@ -123,7 +123,7 @@ Encryption::Encrypt(Text block)
// +-------------------------------------------------------------------+
-Text
+Text
Encryption::Decrypt(Text block)
{
int len = block.length();
@@ -151,7 +151,7 @@ Encryption::Decrypt(Text block)
static const char* codes = "abcdefghijklmnop";
-Text
+Text
Encryption::Encode(Text block)
{
int len = block.length() * 2;
@@ -172,7 +172,7 @@ Encryption::Encode(Text block)
// +-------------------------------------------------------------------+
-Text
+Text
Encryption::Decode(Text block)
{
int len = block.length() / 2;