Cryptographic Hash Functions

Overview

This plug-in contains functions that can perform the following:

  • Create hex encoded hashes for md5, sha1, sha256, and sha512 algorithms
  • Generate hashes with secret key for HMAC
  • Generate hashes of documents
  • Generate a signature key

Key Features & Functionality

This listing currently represents version 2.3.0 of the plug-in.  The functions included are as follows:

  1. md5hash(Text)
  2. md5hashdocument(Document)
  3. sha1hash(Text)
  4. sha1hashdocument(Document)
  5. sha224Hash
  6. sha256hash(Text)
  7. sha256hashdocument(Document)
  8. sha512hash(Text)
  9. sha512hashdocument(Document)
  10. hmacmd5hash(Key, Text)
  11. hmacmd5hashdocument(Key, Document)
  12. hmacsha1hash(Key, Text
  13. hmacsha1hashdocument(Key, Document)
  14. hmacsha256hash(Key, Text)
  15. hmacsha256hashdocument(Key, Document)
  16. hmacsha512hash(Key, Text)
  17. hmacsha512hashdocument(Key, Document)
  18. getSignatureKey(key, dateStamp, regionName, serviceName)  
    • Added in version 2.0.0 to assist with AWS integrations
    • Added support for secure credentials store in version 2.1.0
  19. hmacsha256bytehash
  20. getAwsV4Signature
  21. hmacSHA256HexKeyBase64(Key, Text)

Example Use:

  • Rule Definition: md5Hash(ri!string)
  • Rule Output: 63b03e21a6f184cfd36247b5dc0e86cf
Anonymous
Parents
  • Hi Raymond,

    While performing a health check check on Appian 20.3 I got following alert related to this plugin.

    Cryptographic Hash Functions (com.appiancorp.psshared) references deprecated Appian APIs
    [deprecated] com.appiancorp.suiteapi.common.exceptions.AppianException.<init>(java.lang.String)

    This plugin is working fine in 20.3. Will 20.4 upgrade has any impact on working of this plugin.

    Could you please comment on it.

    Thanks

    Amit Chaugule

Comment
  • Hi Raymond,

    While performing a health check check on Appian 20.3 I got following alert related to this plugin.

    Cryptographic Hash Functions (com.appiancorp.psshared) references deprecated Appian APIs
    [deprecated] com.appiancorp.suiteapi.common.exceptions.AppianException.<init>(java.lang.String)

    This plugin is working fine in 20.3. Will 20.4 upgrade has any impact on working of this plugin.

    Could you please comment on it.

    Thanks

    Amit Chaugule

Children
No Data