[Module] Secure File Container (all OS)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Posts: 1265
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

[Module] Secure File Container (all OS)

Post by Thorsten1867 »

Secure File Container - Module (All OS / 64Bit)
  • Merges all data files of a program into one container
  • Files are securely encrypted when a password is set (qAES-encryption)
  • Files are unpacked only when needed and automatically moved back into the container when it is closed.
  • Resources such as XML, JSON, images and strings can be read directly from and written to the container.

Code: Select all

; 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
Last edited by Thorsten1867 on Sat Nov 23, 2019 2:43 pm, edited 1 time in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 10 x64] [PB V5.7x]
User avatar
Kwai chang caine
Posts: 4891
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: [Module] Secure File Container (all OS)

Post by Kwai chang caine »

Works fine here, thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
Post Reply