[Module] Secure File Container (all OS)

Hier könnt Ihr gute, von Euch geschriebene Codes posten. Sie müssen auf jeden Fall funktionieren und sollten möglichst effizient, elegant und beispielhaft oder einfach nur cool sein.
Benutzeravatar
Thorsten1867
Beiträge: 1359
Registriert: 04.02.2005 15:40
Computerausstattung: [Windows 10 x64] [PB V5.7x]
Wohnort: Kaufbeuren
Kontaktdaten:

[Module] Secure File Container (all OS)

Beitrag von Thorsten1867 »

Secure File Container - Modul (All OS / 64Bit)
  • Alle Datendateien eines Programmes in einem komprimierten Container zusammenfassen.
  • Dateien werden sicher verschlüsselt, wenn ein Passwort gesetzt wird (qAES-Verschlüsselung)
  • Dateien werden nur entpackt, wenn diese benötigt werden und automatisch zurück in den Container verschoben, wenn dieser geschlossen wird.
  • Ressourcen wie Strings, Bilder, XML und JSON können direkt aus dem Container geladen bzw. in diesen geschrieben werden.

Code: Alles auswählen

; SFC::Create()            - create a new file container
; SFC::Open()              - open an existing file container
; SFC::Close()             - close the file container
  
; SFC::AddFile()           - add a file to the file container
; SFC::UseFile()           - use the file (=> decrypt it and extract it from the container)

; SFC::AddXML()            - add XML as file to the container
; SFC::UseXML()            - load XML directly from the container 
  
; SFC::AddJSON()           - add JSON as file to the container
; SFC::UseJSON()           - load JSON directly from the container 
  
; SFC::AddImage()          - add Image as file to the container
; SFC::UseImage()          - load Image directly from the container 
  
; SFC::AddText()           - add string as file to the container
; SFC::UseText(s)          - load string directly from the container 
  
; SFC::ProgressProcedure() - define procedure to show progress
  
; SFC::IsProgID()          - check whether the container has the correct ProgID.
; SFC::IsCorrectKey()      - check if the key is correct.
  
; SFC::GetInfo()           - get container infos (ProgID/Author/Titel/Subject/Creator)
; SFC::SetInfo()           - change container infos (ProgID/Author/Titel/Subject/Creator)
Download: SecureFileContainer.pbi
Download of PureBasic - Module
Download of PureBasic - Programmes

[Windows 11 x64] [PB V6]

Bild