For the complete documentation index, see llms.txt. This page is also available as Markdown.

GenerateHash

Calculate hash from input using selected algorithm

Task version: 1.0.0

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

HashFunction : Function

Generates input string to chosen HashAlgorithm type.

Possible values:

  • MD5: Generates input string to chosen HashAlgorithm type.

  • SHA1: Generates input string to chosen HashAlgorithm type.

  • SHA256: Generates input string to chosen HashAlgorithm type.

  • SHA384: Generates input string to chosen HashAlgorithm type.

  • SHA512: Generates input string to chosen HashAlgorithm type.

  • HMACSHA256: Generates input string to chosen HashAlgorithm type.

  • HMACSHA512: Generates input string to chosen HashAlgorithm type.

Default: 0 Example: MD5

InputString : String

Input string to be hashed.

Default: - Example: foo

🗝HashKey : String

HashKey when using HMACSHA256 or HMACSHA512 HashAlgorithm type.

Default: - Example: foobar

Task Result

Name
Description

Hash : String

HashResult. Example: 8843d7f92416611de9ebb963fy4ce281v5932878

Task Changelog

Changelog for Task Frends.Cryptography.GenerateHash.

[1.0.0] - 2022-08-11

Added

  • Initial implementation

Last updated

Was this helpful?