Skip to content

Commit 5a365a8

Browse files
committed
project renaming
1 parent 7034190 commit 5a365a8

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.1.3 FATAL_ERROR)
22

3-
project(XOR-FileEncoder)
3+
project(XOR-FileEncryptor)
44

55
#Change language version to c99
66
set(CMAKE_C_STANDARD 99)
@@ -15,11 +15,11 @@ if (MSVC)
1515
add_compile_options(/W2)
1616
endif()
1717

18-
add_executable(FileEncoder
18+
add_executable(FileEncryptor
1919
src/main.c
2020
src/Definitions/macros.h
2121
src/Definitions/constants.h
2222
src/IO/input.h src/IO/input.c
23-
src/Encoders/xorencoder.h src/Encoders/xorencoder.c
23+
src/Encryptors/xorencryptor.h src/Encryptors/xorencryptor.c
2424
src/IO/cstmio.h src/IO/cstmio.c
2525
src/Customs/cstmstr.h src/Customs/cstmstr.c)

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[![Build Status](https://github.com/Maslinin/XOR-File-Encoder/workflows/Build/badge.svg)](https://github.com/Maslinin/XOR-File-Encoder/actions/workflows/build.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Maslinin_XOR-File-Encoder&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Maslinin_XOR-File-Encoder) [![GitHub license](https://badgen.net/github/license/Maslinin/XOR-File-Encoder)](https://github.com/Maslinin/XOR-File-Encoder/blob/master/LICENSE)
1+
[![Build Status](https://github.com/Maslinin/XOR-FileEncryptor/workflows/Build/badge.svg)](https://github.com/Maslinin/XOR-FileEncryptor/actions/workflows/build.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Maslinin_XOR-FileEncryptor&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Maslinin_XOR-FileEncryptor) [![GitHub license](https://badgen.net/github/license/Maslinin/XOR-FileEncryptor)](https://github.com/Maslinin/XOR-FileEncryptor/blob/master/LICENSE)
22

3-
# FileEncoder
4-
File Encoder using XOR
3+
# FileEncryptor
4+
File Encryptor using XOR
55

66
### Cheat Sheet for Building via CMake:
77
Command to CMake configure for CodeBlocks with MinGW:

sonar-project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sonar.projectName=FileEncoder
1+
sonar.projectName=XOR-File-Encoder
22
sonar.projectKey=Maslinin_XOR-File-Encoder
33
sonar.organization=maslinin
44

src/Encoders/xorencoder.c renamed to src/Encryptors/xorencryptor.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "xorencoder.h"
1+
#include "xorencryptor.h"
22

33
#include "../IO/cstmio.h"
44
#include "../Customs/cstmstr.h"
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
#ifndef _XORENCODER_H
2-
#define _XORENCODER_H
1+
#ifndef _XORENCRYPTER_H
2+
#define _XORENCRYPTER_H
33

44
extern inline int encrypt_file(const char* srcFilePath, const char* trgFilePath, const char* key);
55
extern inline int decrypt_file(const char* srcFilePath, const char* trgFilePath, const char* key);
66
char* generate_key(char* str, int size);
77

8-
#endif // _XORENCODER_H
8+
#endif // _XORENCRYPTER_H

src/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "IO/input.h"
55
#include "IO/cstmio.h"
66
#include "Customs/cstmstr.h"
7-
#include "Encoders/xorencoder.h"
7+
#include "Encryptors/xorencryptor.h"
88
#include "Definitions/macros.h"
99
#include "Definitions/constants.h"
1010

0 commit comments

Comments
 (0)