Repository navigation
CryptoTools — Professional-Grade Encryption & Data Forensics Suite
CryptoTools is a comprehensive, privacy‑first toolkit for cryptography and data inspection on Apple platforms. It combines streamlined workflows for message encryption/decryption, key management, ASN.1 inspection, and QR-based sharing with a modern SwiftUI interface, helpful onboarding, and built‑in documentation. Whether you’re a security enthusiast, developer, or digital forensics practitioner, CryptoTools gives you precise control and transparency over your cryptographic operations.
At a Glance
• Encrypt and decrypt messages using industry‑standard algorithms (e.g., AES‑256‑GCM).
• Generate, import, analyze, and manage keys with confidence.
• Inspect and navigate ASN.1 structures and certificates with tree‑view clarity.
• Scan, simulate, and share via QR codes for fast, secure exchange.
• Explore built‑in documentation about symmetric and asymmetric encryption best practices.
• Enjoy a polished onboarding flow, paywall/entitlements for advanced features, and deep‑link support.
Core Features
-
Message Encryption & Decryption
• Symmetric encryption (e.g., AES‑256‑GCM) for speed and efficiency when protecting content at rest or in transit.
• Clear documentation on symmetric vs. asymmetric approaches, including benefits like confidentiality, integrity, and secure key exchange.
• Designed for practical use cases: secure text sharing, protected notes, and cryptographic learning. -
Key Management & Analysis
• Generate and manage cryptographic keys locally, with support for multiple key types.
• Import and examine keys with metadata (e.g., keyId, keyType) for traceability.
• Built‑in logging (local) for cryptographic operations to aid reproducibility and auditing in development or testing contexts.
• Integrates with components like KeyManager and mock test helpers to simplify test setups and cleanups. -
ASN.1 & Certificate Inspection
• Navigate complex ASN.1 structures with a dedicated tree view (e.g., ASNNodeTreeView from ASNLIB).
• Visualize and reason about certificates or binary encodings in a human‑readable hierarchy.
• Helpful during certificate validation, PKI analysis, and low‑level data forensics. -
QR Code Scanning & Sharing
• Camera‑powered scanning for QR codes, including:
• Real‑time capture with AVFoundation
• Adjustable scan interval to control detection cadence
• Torch control for low‑light environments
• Simulator support for scanning (tap to simulate a scan) to speed up development and testing cycles.
• Ideal for sharing encrypted payloads, keys, or links via QR, enabling quick offline or proximity-based exchange. -
Deep Linking & Secure Sharing
• Open encrypted messages, keys, files, or accounts directly from URLs using deep‑link handlers.
• Streamlines cross‑app or web-to-app workflows: tap a link and jump straight to the relevant tool in CryptoTools.
• Complements QR workflows for seamless, secure collaboration. -
Built‑In Documentation & Onboarding
• In‑app explanations (localized) of cryptographic fundamentals:
• Symmetric vs. asymmetric encryption
• Authentication, integrity, secure key exchange
• Practical guidance for sharing via URLs and QR codes
• Onboarding screens highlight the app’s pillars:
• “Powerful Cryptographic Tools”
• “Keys & ASN”
• “Tools & Forensics”
• Great for new users getting up to speed and for pros who want a refresher right where they work.
Why CryptoTools?
Privacy‑First Design
• Core cryptographic tasks run locally on device.
• Camera access is privacy‑aware; permission checks are built‑in and transparent.
• No unnecessary network dependencies for critical operations.
Developer‑Friendly
• SwiftUI-based architecture for responsive, maintainable UI.
• QR scanning supports simulator simulation for quick iteration.
• Deep links and modular handlers make it easy to integrate with your ecosystem.
Forensics & Transparency
• Operation logging (local) can help you understand what happened, when, and with which parameters.
• ASN.1 tree views enable precise inspection of binary structures and certificates.
Typical Use Cases
• Securely encrypting a message and sharing it via QR code or URL.
• Inspecting a certificate’s ASN.1 structure during troubleshooting or audits.
• Managing a small vault of cryptographic keys for testing or personal projects.
• Teaching or learning cryptography fundamentals with live, hands‑on tools.
• Integrating with other apps or workflows via deep links (e.g., “Open this encrypted file in CryptoTools”).
User Experience Highlights
• SwiftUI interface with responsive layouts and sheet presentations for documentation and keys.
• Status bar hidden for a focused, immersive workspace.
• Onboarding flow that’s short, informative, and skippable when you know what you’re doing.
Under the Hood (Tech Snapshot)
• SwiftUI app entry (Crypto_Encryption_ToolsApp) with environment injection for entitlements, documentation, and paywall state.
• Camera handling via AVFoundation, with AVCaptureSession, AVCaptureMetadataOutput, and AVCaptureVideoPreviewLayer.
• QR scanner bridge provided through UIViewRepresentable (QrCodeScannerView) for smooth UIKit–SwiftUI interop.
• Onboarding powered by OnBoardingLib; ASN.1 views via ASNLIB.
• StoreKit integration for purchases/entitlements and gated features.
• Structured logging helpers (CryptoOperationLogger, CryptoOperationParameters, OperationMetadata) to capture operation context in development builds.
Security Considerations
• Symmetric encryption (e.g., AES‑256‑GCM) balances performance and security for messages and files.
• Asymmetric encryption concepts supported and explained, emphasizing strong key hygiene and authentication through digital signatures.
• Documentation encourages secure key handling, proper sharing, and optional authentication steps for QR/URL workflows.
Who Is It For?
• Developers and Security Engineers: Rapidly test, inspect, and demo cryptographic scenarios.
• IT & Forensics Professionals: Analyze ASN.1 structures, validate content, and document findings.
• Power Users & Students: Learn by doing—experiment with encryption and key management in a safe, guided environment.