-
-
Save jezinka/66fdbca4537de04920fadb35e018cdbc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (i = 0; i < instructions.length; i++) { | |
encrypted.push(instructions[i].substring(0, instructions[i].length - 10)); | |
id.push(parseInt(instructions[i].substring(instructions[i].length - 10, instructions[i].length - 7))); // od razu zmiana na liczbę, żeby nie było problemu przy sumowaniu | |
checksum.push(instructions[i].substring(instructions[i].length - 6, instructions[i].length - 1)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment