This is a stub application for introducing cryptographic misuse and cryptographic API design.
The stub application is quite simple: You can drop files into the application in order to encrypt or decrypt files. Only the content is encrypted. Encrypted files are named like the original with the .dcrypt
file extension in addition, e.g., if you encrypt README.md
it will produce a file README.md.dcrypt
.
- macOS 10.13 (High Sierra)
- Xcode
- Check out and open the project:
git clone --recursive https://github.com/AppPETs/DCrypt.git
cd DCrypt
open DCrypt.xcodeproj
-
Implement encryption and decryption in
DCrypt.swift
by using the Tafelsalz framework. -
(Optional) Implement unit tests for encryption and decryption in
DCryptTests.swift
. -
Check if your application can still decrypt files if you quit and relaunch it.
-
What would you do, if you want to share the encrypted file with someone else (like encrypted ZIP files)? You might need to take a look at
ViewController.swift
.
Date | Event |
---|---|
2018-11-16 | GI DevCamp 2018 (workshop) |
2019-11-22 | GI DevCamp 2019 (workshop) |