How goliate/hidden-tear works
Hidden Tear is a Windows Forms file-encryption sample paired with a separate decrypter. The encryptor starts its workflow when its form loads: it creates a password, sends host and password information to a configured web endpoint, recursively encrypts selected files, and writes a desktop note. The decrypter accepts a password and recursively restores .locked files. The central implementation is sampled; the README documents the configurable server integration. The graph separates responsibilities within shared Form1.cs files; edges reflect shown calls, with UI initiation marked unverified.
Main entry points: hidden-tear/Form1.cs Encryption workflow · hidden-tear-decrypter/Form1.cs Decrypter form · hidden-tear/Program.cs Encryptor startup · hidden-tear-decrypter/Program.cs Decrypter startup
Components 15
Encryption app
- Encryptor startup
hidden-tear/hidden-tear/Program.cs - Encryptor form
hidden-tear/hidden-tear/Form1.cs - Encryption workflow
hidden-tear/hidden-tear/Form1.cs - Password creation
hidden-tear/hidden-tear/Form1.cs - Key reporting
hidden-tear/hidden-tear/Form1.cs - File traversal
hidden-tear/hidden-tear/Form1.cs - File encryption
hidden-tear/hidden-tear/Form1.cs - Desktop notice
hidden-tear/hidden-tear/Form1.cs
Decryption app
- Decrypter startup
hidden-tear-decrypter/hidden-tear-decrypter/Program.cs - Decrypter form
hidden-tear-decrypter/hidden-tear-decrypter/Form1.cs - Restore traversal
hidden-tear-decrypter/hidden-tear-decrypter/Form1.cs - File decryption
hidden-tear-decrypter/hidden-tear-decrypter/Form1.cs
External resources
- Configured web server
- Local files
Other components
- User
Connections 15
- Encryptor startup → Encryptor form: opens form
hidden-tear/hidden-tear/Program.cs - Encryptor form → Encryption workflow: starts on load
hidden-tear/hidden-tear/Form1.cs - Encryption workflow → Password creation: creates password
hidden-tear/hidden-tear/Form1.cs - Encryption workflow → Key reporting: reports password
hidden-tear/hidden-tear/Form1.cs - Encryption workflow → File traversal: encrypts directory
hidden-tear/hidden-tear/Form1.cs - Encryption workflow → Desktop notice: writes notice
hidden-tear/hidden-tear/Form1.cs - Key reporting → Configured web server: sends host and key
hidden-tear/hidden-tear/Form1.cs - File traversal → File encryption: encrypts matches
hidden-tear/hidden-tear/Form1.cs - File encryption → Local files: reads and renames
hidden-tear/hidden-tear/Form1.cs - Desktop notice → Local files: writes note
hidden-tear/hidden-tear/Form1.cs - Decrypter startup → Decrypter form: opens form
hidden-tear-decrypter/hidden-tear-decrypter/Program.cs - User → Decrypter form: enters key and clicks
- Decrypter form → Restore traversal: starts on click
hidden-tear-decrypter/hidden-tear-decrypter/Form1.cs - Restore traversal → File decryption: restores locked files
hidden-tear-decrypter/hidden-tear-decrypter/Form1.cs - File decryption → Local files: reads and renames
hidden-tear-decrypter/hidden-tear-decrypter/Form1.cs