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:
@@ -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)];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user