Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.67 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.67 KB

DCrypt

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.

⚠️ This project is for educational purposes only. Do not use this for productive purposes!

Requirements

  • macOS 10.13 (High Sierra)
  • Xcode

Goals

  1. Check out and open the project:
git clone --recursive https://github.com/AppPETs/DCrypt.git
cd DCrypt
open DCrypt.xcodeproj
  1. Implement encryption and decryption in DCrypt.swift by using the Tafelsalz framework.

  2. (Optional) Implement unit tests for encryption and decryption in DCryptTests.swift.

  3. Check if your application can still decrypt files if you quit and relaunch it.

  4. 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.

References

In Action

Date Event
2018-11-16 GI DevCamp 2018 (workshop)
2019-11-22 GI DevCamp 2019 (workshop)