My Project 1.0
Open Source Encrypted Vault Storage
Loading...
Searching...
No Matches
ignivault.App.Services.CryptoService Class Reference
Inheritance diagram for ignivault.App.Services.CryptoService:
Collaboration diagram for ignivault.App.Services.CryptoService:

Public Member Functions

 CryptoService (IJSRuntime jsRuntime)
async Task< T?> DecryptAsync< T > (byte[] encryptedData, byte[] iv, byte[] salt, string masterPassword)
async Task< byte[]?> DecryptFileAsync (byte[] encryptedData, byte[] iv, byte[] salt, string masterPassword)
async Task< string?> DecryptFileAndGetBase64Async (byte[] encryptedData, byte[] iv, byte[] salt, string masterPassword)
async Task< EncryptionResult?> EncryptAsync< T > (T data, byte[] salt, string masterPassword)
async Task< EncryptionResult?> EncryptFileAsync (byte[] fileBytes, byte[] salt, string masterPassword)

Detailed Description

Definition at line 21 of file CryptoService.cs.

Constructor & Destructor Documentation

◆ CryptoService()

ignivault.App.Services.CryptoService.CryptoService ( IJSRuntime jsRuntime)
inline

Definition at line 25 of file CryptoService.cs.

Member Function Documentation

◆ DecryptAsync< T >()

async Task< T?> ignivault.App.Services.CryptoService.DecryptAsync< T > ( byte[] encryptedData,
byte[] iv,
byte[] salt,
string masterPassword )
inline

Implements ignivault.App.Services.ICryptoService.

Definition at line 30 of file CryptoService.cs.

◆ DecryptFileAndGetBase64Async()

async Task< string?> ignivault.App.Services.CryptoService.DecryptFileAndGetBase64Async ( byte[] encryptedData,
byte[] iv,
byte[] salt,
string masterPassword )
inline

Implements ignivault.App.Services.ICryptoService.

Definition at line 52 of file CryptoService.cs.

◆ DecryptFileAsync()

async Task< byte[]?> ignivault.App.Services.CryptoService.DecryptFileAsync ( byte[] encryptedData,
byte[] iv,
byte[] salt,
string masterPassword )
inline

Implements ignivault.App.Services.ICryptoService.

Definition at line 40 of file CryptoService.cs.

◆ EncryptAsync< T >()

async Task< EncryptionResult?> ignivault.App.Services.CryptoService.EncryptAsync< T > ( T data,
byte[] salt,
string masterPassword )
inline

Implements ignivault.App.Services.ICryptoService.

Definition at line 64 of file CryptoService.cs.

◆ EncryptFileAsync()

async Task< EncryptionResult?> ignivault.App.Services.CryptoService.EncryptFileAsync ( byte[] fileBytes,
byte[] salt,
string masterPassword )
inline

Implements ignivault.App.Services.ICryptoService.

Definition at line 70 of file CryptoService.cs.


The documentation for this class was generated from the following file:
  • C:/Users/prest/Desktop/GitHub/Ignivault/ignivault.App/Services/CryptoService.cs