twitch vod downloading done

ffmpeg essentials

fix

Project reorganized

git lfs

ffmpeg removed

ffmpeg added
This commit is contained in:
2024-02-14 02:07:22 +01:00
Unverified
parent 91f9b645bd
commit e3ec5c3a48
264 changed files with 6239 additions and 4014 deletions

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
using System.Security;
using System.Runtime.InteropServices;
namespace VDownload.Services.Utility.Encryption
{
public interface IEncryptionService
{
byte[] Decrypt(byte[] ciphertext);
byte[] Encrypt(byte[] plaintext);
}
public class EncryptionService : IEncryptionService
{
#region PUBLIC METHODS
public byte[] Encrypt(byte[] plaintext)
{
return ProtectedData.Protect(plaintext, null, DataProtectionScope.CurrentUser);
}
public byte[] Decrypt(byte[] ciphertext)
{
return ProtectedData.Unprotect(ciphertext, null, DataProtectionScope.CurrentUser);
}
#endregion
}
}

View File

@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
</ItemGroup>
</Project>