Skip to content

Package with functions and elements needed for Steganography and other components of Cryptography.

License

Notifications You must be signed in to change notification settings

VerticalHeretic/DisguisedSwiftly

Repository files navigation

testing/building Platform

DisguisedSwiftly

Package with all sorts of cryptographic functions and capabilities for Swift. For now it's mainly concentrated of steganography but new capabilities will be added in the future releases.

Example usage of Stego in iOS

let stego = Stego()
let image = UIImage(named: "swift")

stego.encodeTextInImage(with: "Swift is awesome", in: image) { [weak self] result in
    switch result {
    case .success(let image):
        self?.saveImage(image)
    case .failure(let error):
        self?.displayError(error)
    }
}

stego.decodeTextInImage(in: image) { [weak self] result in
    switch result {
    case .success(let message):
        self?.displayMessage(message)
    case .failure(_):
        self?.displayError(error)
    }
}

About

Package with functions and elements needed for Steganography and other components of Cryptography.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published