Getting started with Storage in .NET
ByteHide.Storage provides enterprise-grade secure file storage with post-quantum encryption, automatic compression, and zero-knowledge architecture for .NET applications.
ByteHide Storage is a secure file storage solution designed specifically for applications, offering post-quantum encryption, automatic compression, and a zero-knowledge architecture that ensures only you can access your data.
What is ByteHide Storage?
ByteHide Storage is an application-focused storage service that provides:
- Post-Quantum Encryption: Future-proof your data with quantum-resistant algorithms
- Zero-Knowledge Architecture: Only you can decrypt your files - ByteHide cannot access your data
- Automatic Compression: Reduce storage costs by up to 80% with intelligent compression
- Fluent API: Intuitive, chainable operations for complex storage tasks
- Global Infrastructure: Multiple regions with comprehensive compliance certifications
- Web Panel Management: Monitor usage, manage access, and view analytics
Zero-Knowledge Security
ByteHide Storage operates under a zero-knowledge model. Your encryption phrases and data remain exclusively under your control. Even if ByteHide's infrastructure were compromised, your encrypted data would remain secure.
Key Features
🔐 Post-Quantum Encryption
Protect your data against both classical and quantum computer attacks with multiple algorithm options:
- Kyber Family: Kyber512, Kyber768, Kyber1024 (default)
- MLKEM Family: MLKEM512, MLKEM768, MLKEM1024
- Additional Options: SNTRUP761, FrodoKem1344Shake
📦 Intelligent Compression
Automatically reduce storage costs and transfer times:
- Up to 80% size reduction for text files and documents
- Automatic decompression on download
- Smart compression algorithms optimized for different file types
🌐 Global Infrastructure
Choose from multiple regions with comprehensive compliance:
- Europe: France, Germany, UK, Poland
- North America: Canada (multiple locations)
- Asia-Pacific: Singapore, Australia, India
- Compliance: ISO 27001, GDPR, PCI DSS, HIPAA, SOC 2
🔧 Developer Experience
Intuitive API designed for modern .NET development:
// Upload with encryption and compression
await storage
.In("documents/2024")
.EncryptWithQuantum()
.Compress()
.FromFile("report.pdf", "local/report.pdf");
// Download automatically handles decryption
string content = storage.GetText("documents/2024/report.pdf");
Quick Start
1. Create Your Project
Start by creating a Storage project in the ByteHide dashboard:
Create Storage Project
Set up your first ByteHide Storage project and get your token.
2. Install the SDK
Add ByteHide Storage to your .NET project:
dotnet add package ByteHide.Storage
3. Initialize and Use
using ByteHide.Storage;
// Initialize with project token and encryption phrase
var storage = new StorageManager("<project_token>", "<encryption_phrase>");
// Upload a file with quantum encryption
await storage
.EncryptWithQuantum()
.Set("secure/data.json", jsonData);
// Download automatically decrypts
var data = storage.Get<MyData>("secure/data.json");
Core Documentation
Getting Started
Installation
Install and set up the ByteHide Storage SDK.
Quick Start Guide
Get started with ByteHide Storage in minutes.
Project Token Setup
Configure your project token and encryption phrase.
File Operations
Upload & Download
Learn how to upload and download files with various data formats.
Compression
Reduce storage costs with automatic file compression.
Delete Files
Safely remove files from your storage.
Security & Encryption
Zero-Knowledge Encryption
Understand standard and quantum-resistant encryption options.
Quantum Protection Overview
Learn about post-quantum cryptography in ByteHide Storage.
Access Control
Control file visibility and permissions.
Advanced Features
Directory Management
Organize files with advanced directory operations.
File Listing & Search
List and search files with powerful filtering options.
File Metadata
Access detailed file information and properties.
Quantum Algorithms
ByteHide Storage supports multiple post-quantum cryptographic algorithms:
Kyber Family (Recommended)
Kyber512
High performance, NIST Level 1 security.
Kyber768
Balanced security and performance, NIST Level 3.
Kyber1024
Maximum security, NIST Level 5 (default).
MLKEM Family
MLKEM512
Optimized performance variant.
MLKEM768
Enterprise security balance.
MLKEM1024
Highest protection level.
Additional Options
SNTRUP761
NTRU Prime-based alternative approach.
FrodoKem1344Shake
Conservative security choice.
Web Panel Management
Monitor and manage your storage through the ByteHide web panel:
Dashboard Overview
Monitor storage usage and project statistics.
File Browser
Navigate and manage your stored files.
Storage Analytics
Analyze usage patterns and performance metrics.
Access Management
Control project access and security settings.
Legacy Integration (MSBuild)
For existing projects using the MSBuild integration:
MSBuild Installation
Install ByteHide Storage via MSBuild integration.
MSBuild Quick Start
Quick start guide for MSBuild integration.
File Handling
Advanced file operations with MSBuild integration.
Best Practices
Security
- Use ByteHide Secrets to manage encryption phrases
- Never hardcode encryption phrases in your source code
- Choose appropriate quantum algorithms based on your security needs
- Regularly rotate encryption phrases
Performance
- Use compression for text files and documents
- Cache frequently accessed files in your application
- Choose storage regions close to your users
- Monitor storage analytics for optimization opportunities
Architecture
- Organize files with logical directory structures
- Use consistent naming conventions
- Implement proper error handling
- Document your storage architecture and security choices
Integrated Security Platform
ByteHide Storage works seamlessly with other ByteHide products:
- Use ByteHide Secrets for secure credential management
- Protect your application code with ByteHide Shield
- Monitor security events with ByteHide Logs
- Get real-time protection with ByteHide Monitor
Support & Resources
- Documentation: Comprehensive guides and API reference
- Sample Projects: Example implementations and best practices
- Community Support: Developer community and forums
- Enterprise Support: Dedicated support for enterprise customers
Ready to secure your application's file storage? Create your first Storage project and start protecting your data with post-quantum encryption.