FRENDS Task to create signature hash from hashed data.
FRENDS Task to create signature hash from hashed data. Supports MD5, SHA1, SHA 256, SHA 384 and SHA 512 hash algorithms.
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.CreateSignatureHash
FRENDS Task to create signature hash from hashed data. Supports MD5, SHA1, SHA 256, SHA 384 and SHA 512 hash algorithms.
Property | Type | Description | Example |
---|---|---|---|
HashedData | string | Hashed data | ´0a50261ebd1a390fed2bf326f2673c145582a6342d523204973d0219337f81616a8069b012587cf5635f6925f1b56c360230c19b273500ee013e030601bf2425´ |
PrivateKey | string | RSA private key in xml format | https://msdn.microsoft.com/en-us/library/system.security.cryptography.rsa.toxmlstring(v=vs.110).aspx |
HashFunction | enum | Supported hash types | ´SHA512´ |
Property | Type | Description |
---|---|---|
Hash | string | Signature hash |
Usage:
To fetch result use syntax:
#result.Hash
Clone a copy of the repo
git clone https://github.com/CommunityHiQ/Frends.Community.CreateSignatureHash.git
Rebuild the project
dotnet build
Run Tests
dotnet test
Create a NuGet package
dotnet pack --configuration Release
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.
NOTE: Be sure to merge the latest from “upstream” before making a pull request!
Version | Changes |
---|---|
1.0.0 | Initial version |
1.1.0 | Multi-framework and Github actions support |