Skip to content
/ fs Public

Virtual file system with encryption support (AES-128)

License

Notifications You must be signed in to change notification settings

mr-js/fs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fs

Virtual file system with encryption support (AES-128)

Features

  • Dependency-free: native, no third-party packages to install to work with the file system and encryption!
  • Saving and checking the checksum for each file during packing (encryption) and extraction (decryption)
  • Support for data compression and automatic partitioning of virtual file storage into volumes

fs

fs

fs

Usage

See examples below

Examples

Store all files from input to the encrypted virtual filesystem storage and receive them back to output.

from fs import FSD

# demo init
fsd = FSD('password', root='temp', input='input', output='output', storage='storage', volume=1024)
# file system conversion, packaging and encryption
fsd.store()
# decryption, decompression and file system conversion
fsd.receive()

Remarks

  • If no password is specified, the encryption key is generated automatically and stored in the file fs.key.
  • You can also set the volume size of the virtual file system: in this case, the storage will be automatically partitioned (param volume, MB).