PulseTrade.Comm.Security 0.1.1

dotnet add package PulseTrade.Comm.Security --version 0.1.1
                    
NuGet\Install-Package PulseTrade.Comm.Security -Version 0.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PulseTrade.Comm.Security" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PulseTrade.Comm.Security" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="PulseTrade.Comm.Security" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PulseTrade.Comm.Security --version 0.1.1
                    
#r "nuget: PulseTrade.Comm.Security, 0.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PulseTrade.Comm.Security@0.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PulseTrade.Comm.Security&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=PulseTrade.Comm.Security&version=0.1.1
                    
Install as a Cake Tool

PulseTrade.Comm.Security

PulseTrade.Comm.Security provides small encrypted-secret helpers for PTC host configuration.

Production PTC services must not receive connection strings or passwords through environment variables. Store sensitive text in an encrypted file and pass explicit key/file paths to the host.

Default RSA key paths used by current PTCS deployment work:

  • public key: D:\ingted.com\myKey.pub.txt
  • private key: D:\ingted.com\myKey.private.txt

API

  • encryptStr keySize publicKeyPath plaintext paddingOpt matches the existing FAkka.Shared Crypt.encryptStr behavior for short text.
  • decryptStr keySize privateKeyPath encrypted paddingOpt matches FAkka.Shared Crypt.decryptStr for base64 RSA text.
  • encryptChunkedStr / decryptChunkedStr support longer plaintext such as full SQL connection strings.
  • readEncryptedTextFile reads either a legacy single base64 value or the chunked JSON format.
  • writeEncryptedTextFile writes chunked JSON using UTF-8 without BOM.

Do not log decrypted values.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on PulseTrade.Comm.Security:

Package Downloads
FAkka.Quotation.Actor

Trusted-development Akka.NET hot-load contracts for F# quotations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.1 114 9/4/2026
0.1.0-alpha2 119 8/2/2026
0.1.0-alpha1 114 7/2/2026