mirror of
https://github.com/KyleBanks/XOREncryption.git
synced 2023-08-10 21:13:15 +03:00
Fixing indentation
This commit is contained in:
parent
4d64b1eacd
commit
21df96ba59
@ -5,7 +5,7 @@ def encryptDecrypt(String input) {
|
|||||||
for(int i = 0; i < input.length(); i++) {
|
for(int i = 0; i < input.length(); i++) {
|
||||||
int a = input.charAt(i) as int;
|
int a = input.charAt(i) as int;
|
||||||
int b = (key[i % key.size()] as char) as int
|
int b = (key[i % key.size()] as char) as int
|
||||||
output.add((a ^ b) as char)
|
output.add((a ^ b) as char)
|
||||||
}
|
}
|
||||||
|
|
||||||
output.join("")
|
output.join("")
|
||||||
|
Loading…
Reference in New Issue
Block a user