Skip to content
/ DCrypt Public

Stub application for introducing cryptographic misuse and cryptographic API design

License

Notifications You must be signed in to change notification settings

AppPETs/DCrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Stub application for introducing cryptographic misuse and cryptographic API design

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages