MaGCyub is a personal encrypted storage system that compresses and encrypts files, then splits them into multiple uniformly sized encrypted blocks stored under random names.
The goal of MaGCyub is to provide a secure, opaque personal space where:
- file contents are unreadable without a password
- file names and structure reveal no meaning
- data is evenly distributed across encrypted files
- All data is protected by a single user password. The password is never stored.
- Files are compressed before encryption to reduce size and remove patterns.
- Encrypted data is split into multiple chunks of similar size.
- Encrypted chunks form a one-directional chain (or graph) starting from a root node.
-
Stored files:
-
have random names
-
contain no readable metadata
-
reveal no structure without the correct password
-
1- User provides:
- Password
- Root ID
2- The password is used to derive a master key.
3- A root container is decrypted using the master key.
4- The root reveals:
- Metadata
- The starting node ID
- Mappings between logical node IDs and encrypted filenames
5- Each node:
- Is encrypted independently
- Contains:
+ Compressed content
+ A reference to the next node ID
- Includes its own salt and nonce
6- Nodes are decrypted and reassembled in order to reconstruct the original data.
-
The password is never stored.
-
Encryption security does NOT rely on obscurity:
- Algorithms - File formats - Structuremay be publicly known.
-
Without the correct password:
- No file contents can be decrypted - Filenames and structure remain meaningless -
All cryptographic operations rely on well-established algorithms and libraries (no custom crypto).