frends-community - Frends.Community.AesEncryptFile 3.0.0

Task for encrypt files using AES.

PM> Install-Package Frends.Community.AesEncryptFile -Version 3.0.0 -Source https://www.myget.org/F/frends-community/api/v3/index.json

Copy to clipboard

> nuget.exe install Frends.Community.AesEncryptFile -Version 3.0.0 -Source https://www.myget.org/F/frends-community/api/v3/index.json

Copy to clipboard

> dotnet add package Frends.Community.AesEncryptFile --version 3.0.0 --source https://www.myget.org/F/frends-community/api/v3/index.json

Copy to clipboard
<PackageReference Include="Frends.Community.AesEncryptFile" Version="3.0.0" />
Copy to clipboard
source https://www.myget.org/F/frends-community/api/v3/index.json

nuget Frends.Community.AesEncryptFile  ~> 3.0.0
Copy to clipboard

> choco install Frends.Community.AesEncryptFile --version 3.0.0 --source https://www.myget.org/F/frends-community/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "frends-community" -SourceLocation "https://www.myget.org/F/frends-community/api/v2"
Install-Module -Name "Frends.Community.AesEncryptFile" -RequiredVersion "3.0.0" -Repository "frends-community" 
Copy to clipboard

Frends.Community.AesEncryptFile

frends Community Task for AesEncryptTask

Actions Status MyGet License: MIT

Installing

You can install the Task via frends UI Task View or you can find the NuGet package from the following NuGet feed https://www.myget.org/F/frends-community/api/v3/index.json and in Gallery view in MyGet https://www.myget.org/feed/frends-community/package/nuget/Frends.Community.AesEncryptFile

Tasks

AesEncryptTask

Repeats a message

Input

Property Type Description Example
SourceFile String File to encrypt c:\temp\foobar.txt
DestinationFile String Destination file path. It left undefined, then the task will write the encrypted file to the same location as the source file using a new guid as file name c:\temp\encrypt.ed
Password String Password to use as encryption key password123

Returns

Property Type Description Example
OutputPath String Path to the encrypted file c:\temp\encrypt.ed

Options

Property Type Description Example
CipherMode Cipher CipherMode to use when encrypting a file, when unsure, use CBC CBC
PaddingMode Padding Padding mode to use when encrypting a file, when unsure, use PKCS7 PKCS7
KeySize KeySize Key size for file encryption, when unsure, use 256 AES256
ByteArrayLength Int Array length used in defining the salt byte array of encryption. When Decrypting by OpenSSL, use 8 8
DecryptionMethod String Defines how the encrypted file is planned to be decrypted, when unsure, use Other Other

Usage: To fetch result use syntax:

#result.Replication

Building

Clone a copy of the repository

git clone https://github.com/CommunityHiQ/Frends.Community.AesEncryptFile.git

Rebuild the project

dotnet build

Run tests

dotnet test

Create a NuGet package

dotnet pack --configuration Release

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

  1. Fork the repository on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

Change Log

Version Changes
1.0.0 First version.
2.0.0 Task renamed and refactored, it is not backward compatible. Updated documentation.
2.1.0 Converted to support .Net Framework 4.7.1 and .Net Standard 2.0
3.0.0 Targeted to .NET6 and .NET8, and updated System.ComponentModel.Annotations to 5.0.0.
  • .NETFramework 4.7.1
    • Microsoft.CSharp (>= 4.7.0)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETFramework 6.0
    • Microsoft.CSharp (>= 4.7.0)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETFramework 8.0
    • Microsoft.CSharp (>= 4.7.0)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETStandard 2.0
    • Microsoft.CSharp (>= 4.7.0)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETFramework 4.7.1: 4.7.1.0
  • .NETFramework 6.0: 6.0.0.0
  • .NETFramework 8.0: 8.0.0.0
  • .NETStandard 2.0: 2.0.0.0

Owners

FRENDS Community Feed User

Authors

HiQ Finland

Project URL

https://github.com/CommunityHiQ/Frends.Community.AesEncryptFile

License

MIT

Tags

Frends

Info

70 total downloads
10 downloads for version 3.0.0
Download (23.35 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
3.0.0 23.35 KB Mon, 03 Feb 2025 12:24:19 GMT 10
2.1.0 12.44 KB Tue, 19 Jan 2021 14:59:41 GMT 39
2.0.0 7.19 KB Mon, 17 Sep 2018 13:50:39 GMT 21