2
0
mirror of https://github.com/tenrok/Rfid-Credential-Provider.git synced 2026-06-02 16:14:04 +03:00

Adding files from my site

This commit is contained in:
Tyler Menezes
2012-02-26 13:07:01 -08:00
commit 0a91bed95d
697 changed files with 37832 additions and 0 deletions
@@ -0,0 +1,8 @@
#include <string>
void decrypt(char* toDecrypt, char* password){
for(int i = 0; i < strlen(toDecrypt); i++){
toDecrypt[i] = (char)(((int)toDecrypt[i]) - 1);
toDecrypt[i] = toDecrypt[i] ^ password[i % strlen(password)];
}
}