Skip to content

tonywang07009/C_mini_database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cover

C_Simple_Mini_Database


1. Project Describe

This project is implemented in C as the final project for the NTUT Advanced C course.

  • Basic in‑memory file system (directories, files, simple tree structure)

  • Optional AES‑128 encryption for file contents (using tiny-AES-c)

  • Manual and automatic dump/load of the whole file system to a dump file

  • Simple CLI (mkdir/ls/cd/put/get/cat/status/dump/exit)


2. How to used

2.1 Add The tiny-AES-c

Library source:

Unix & Linux & Powershell

    cd /Additional_Function
    git clone https://github.com/kokke/tiny-AES-c.git

2.2 Makefile

Unix & Linux

    make clean VERBOSE=1
    make VERBOSE=1

Windows

    mingw32-make clean VERBOSE=1
    mingw32-make VERBOSE=1

2.3 Join The cli

Unix & Linux

    cd /CLI
    ./CLI

Windows

    cd /CLI
    .\CLI.exe

3. Document


License


This project is open-source and available under the MIT License.

About

This is for Advance C Lanuge course final project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors