Swiftpack.co -  BrandonPlank/PlankCore as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
The base library used in my filetype
.package(url: "https://github.com/BrandonPlank/PlankCore.git", from: "1.0.0")


  • watchOS ✔️
  • iOS ✔️
  • tvOS ✔️
  • macOS ✔️
  • Linux ✔️
  • Windows ✔️
  • BSD ❌


To encode some data pass a Data array into here or call

Data().conglobberate(Data1, Data2, ...)
public func run(_ data: [Data], filenames: [String]? = nil, encrypt: Bool? = nil) -> PlankFile?

encryption auto-gens a secure password used to make a key.

To decode data, just pass in the encoded data. It will return all of the data in a PlankFile structure.

public func run(_ data: Data, keyiv: String? = nil) -> PlankFile?



// Encoding
let encodedDataStruct = PlankCore.Plank.Encode().run([somedata, ...])
let encodedData = encodedDataStruct.PlankData

// Decoding
let decodedDataStruct = PlankCore.Plank.Decode().run(encodedData)
let decodedData = decodedDataStruct.PlankDataArray


// Encoding
let encodedDataStruct = PlankCore.Plank.Encode().run([somedata, ...], encrypted: true)
let encodedData = encodedDataStruct.PlankData

// Decoding
let decodedDataStruct = PlankCore.Plank.Decode().run(encodedData, keyiv: "a2523160918f4802d4ae23e52444a7aa54227ef223673cf86526a7a7dd104c5d44d1c615e96c336bdd7fc501e27ea138")
let decodedData = decodedDataStruct.PlankDataArray


Stars: 1
Last commit: 3 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

7 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics