
Cryptographic Hash Functions
by Appian Corporation
Description
This version is for Appian 23.2 and above. Cloud customers on a lower version of Appian that want to install this plugin should open a support case. Self-managed customers can find the latest jar for Appian 23.1 and lower version in the folder pre-23.2
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
Features
Functions included:
md5hash(Text) md5hashdocument(Document) sha1hash(Text) sha1hashdocument(Document) sha224Hash sha256hash(Text) sha256hashdocument(Document) sha512hash(Text) sha512hashdocument(Document) hmacmd5hash(Key, Text) hmacmd5hashdocument(Key, Document) hmacsha1hash(Key, Text) hmacsha1hashdocument(Key, Document) hmacsha256hash(Key, Text) hmacsha256hashBase64(Key, Text) hmacsha256hashdocument(Key, Document) hmacSHA256HexKeyBase64(Key, Text) hmacsha512hash(Key, Text) hmacsha512hashdocument(Key, Document) getSignatureKey(key, dateStamp, regionName, serviceName) Added in version 2.0.0 to assist with AWS integrations
New in version 2.3.0: getAwsV4Signature hmacsha256bytehash
New in version 2.4.0 hmacSHA256HexKeyBase64(Key, Text) Added to support a hexadecimal key as input
New in version 2.5.0 hmacSHA256Base64(Key, Text) Added to support a base64 key as input
Example Use:
Rule Definition: md5Hash(ri!string) Rule Output: 63b03e21a6f184cfd36247b5dc0e86cf
Release notes
v3.1.0 added sha224Hash function v3.0.0 removed the usage of deprecated APIs in Appian 23.2 and above v2.5.0 added hmacSHA256Base64 to support a base64 key. This will output a base64 encoded hash value v2.4.0 added hmacSHA256HexKeyBase64 to support a hex key. This will output a base64 encoded hash value v2.3.0 added two new functions to help with integrations: hmacsha256bytehash and getAwsV4Signature [MIGRATED] v2.1.0 added support for use of the shared credentials store with the getSignatureKey method; fixed an older bug with some descriptions not defined in the i18n bundle v2.0.0 Add new getSignatureKey function to help with AWS integrations v1.2.0: Added functions for generating hashes with secret key for HMAC v1.1.0: Added functions for generating hashes of documents v1.0.1: First release (by Chase Putnam)
This plugin provides 16 expression functions for generating respective hash values.
Example Use: Rule Input: Name - string, type - Text Rule Definition: md5Hash(ri!string) Rule Output: 63b03e21a6f184cfd36247b5dc0e86cf md5hash(Text) / md5hashdocument(Document) sha1hash(Text) / sha1hashdocument(Document) sha256hash(Text) / sha256hashdocument(Document) sha512hash(Text) / sha512hashdocument(Document) hmacmd5hash(Key, Text) / hmacmd5hashdocument(Key, Document) hmacsha1hash(Key, Text) / hmacsha1hashdocument(Key, Document) hmacsha256hash(Key, Text) / hmacsha256hashdocument(Key, Document) hmacsha512hash(Key, Text) / hmacsha512hashdocument(Key, Document)
Version history (7)
3.0.0
v3.0.0 removed the usage of deprecated APIs in Appian 23.2 and above v2.5.0 added hmacSHA256Base64 to support a base64 key. This will output a base64 encoded hash value v2.4.0 added hmacSHA256HexKeyBase64 to support a hex key. This will output a base64 encoded hash value v2.3.0 added two new functions to help with integrations: hmacsha256bytehash and getAwsV4Signature [MIGRATED] v2.1.0 added support for use of the shared credentials store with the getSignatureKey method; fixed an older bug with some descriptions not defined in the i18n bundle v2.0.0 Add new getSignatureKey function to help with AWS integrations v1.2.0: Added functions for generating hashes with secret key for HMAC v1.1.0: Added functions for generating hashes of documents v1.0.1: First release (by Chase Putnam)
This plugin provides 16 expression functions for generating respective hash values.
Example Use: Rule Input: Name - string, type - Text Rule Definition: md5Hash(ri!string) Rule Output: 63b03e21a6f184cfd36247b5dc0e86cf md5hash(Text) / md5hashdocument(Document) sha1hash(Text) / sha1hashdocument(Document) sha256hash(Text) / sha256hashdocument(Document) sha512hash(Text) / sha512hashdocument(Document) hmacmd5hash(Key, Text) / hmacmd5hashdocument(Key, Document) hmacsha1hash(Key, Text) / hmacsha1hashdocument(Key, Document) hmacsha256hash(Key, Text) / hmacsha256hashdocument(Key, Document) hmacsha512hash(Key, Text) / hmacsha512hashdocument(Key, Document)
2.5.0
v2.5.0 added hmacSHA256Base64 to support a base64 key. This will output a base64 encoded hash value v2.4.0 added hmacSHA256HexKeyBase64 to support a hex key. This will output a base64 encoded hash value v2.3.0 added two new functions to help with integrations: hmacsha256bytehash and getAwsV4Signature [MIGRATED] v2.1.0 added support for use of the shared credentials store with the getSignatureKey method; fixed an older bug with some descriptions not defined in the i18n bundle v2.0.0 Add new getSignatureKey function to help with AWS integrations v1.2.0: Added functions for generating hashes with secret key for HMAC v1.1.0: Added functions for generating hashes of documents v1.0.1: First release (by Chase Putnam)
This plugin provides 16 expression functions for generating respective hash values.
Example Use: Rule Input: Name - string, type - Text Rule Definition: md5Hash(ri!string) Rule Output: 63b03e21a6f184cfd36247b5dc0e86cf md5hash(Text) / md5hashdocument(Document) sha1hash(Text) / sha1hashdocument(Document) sha256hash(Text) / sha256hashdocument(Document) sha512hash(Text) / sha512hashdocument(Document) hmacmd5hash(Key, Text) / hmacmd5hashdocument(Key, Document) hmacsha1hash(Key, Text) / hmacsha1hashdocument(Key, Document) hmacsha256hash(Key, Text) / hmacsha256hashdocument(Key, Document) hmacsha512hash(Key, Text) / hmacsha512hashdocument(Key, Document)
2.4.0
v2.4.0 added hmacSHA256HexKeyBase64 to support a hex key. This will output a base64 encoded hash value v2.3.0 added two new functions to help with integrations: hmacsha256bytehash and getAwsV4Signature [MIGRATED] v2.1.0 added support for use of the shared credentials store with the getSignatureKey method; fixed an older bug with some descriptions not defined in the i18n bundle v2.0.0 Add new getSignatureKey function to help with AWS integrations v1.2.0: Added functions for generating hashes with secret key for HMAC v1.1.0: Added functions for generating hashes of documents v1.0.1: First release (by Chase Putnam)
This plugin provides 16 expression functions for generating respective hash values.
Example Use: Rule Input: Name - string, type - Text Rule Definition: md5Hash(ri!string) Rule Output: 63b03e21a6f184cfd36247b5dc0e86cf md5hash(Text) / md5hashdocument(Document) sha1hash(Text) / sha1hashdocument(Document) sha256hash(Text) / sha256hashdocument(Document) sha512hash(Text) / sha512hashdocument(Document) hmacmd5hash(Key, Text) / hmacmd5hashdocument(Key, Document) hmacsha1hash(Key, Text) / hmacsha1hashdocument(Key, Document) hmacsha256hash(Key, Text) / hmacsha256hashdocument(Key, Document) hmacsha512hash(Key, Text) / hmacsha512hashdocument(Key, Document)
2.3.0
v2.3.0 added two new functions to help with integrations: hmacsha256bytehash and getAwsV4Signature [MIGRATED] v2.1.0 added support for use of the shared credentials store with the getSignatureKey method; fixed an older bug with some descriptions not defined in the i18n bundle v2.0.0 Add new getSignatureKey function to help with AWS integrations v1.2.0: Added functions for generating hashes with secret key for HMAC v1.1.0: Added functions for generating hashes of documents v1.0.1: First release (by Chase Putnam)
This plugin provides 16 expression functions for generating respective hash values.
Example Use: Rule Input: Name - string, type - Text Rule Definition: md5Hash(ri!string) Rule Output: 63b03e21a6f184cfd36247b5dc0e86cf md5hash(Text) / md5hashdocument(Document) sha1hash(Text) / sha1hashdocument(Document) sha256hash(Text) / sha256hashdocument(Document) sha512hash(Text) / sha512hashdocument(Document) hmacmd5hash(Key, Text) / hmacmd5hashdocument(Key, Document) hmacsha1hash(Key, Text) / hmacsha1hashdocument(Key, Document) hmacsha256hash(Key, Text) / hmacsha256hashdocument(Key, Document) hmacsha512hash(Key, Text) / hmacsha512hashdocument(Key, Document)
2.0.0
[MIGRATED]v2.0.0: Added getSignatureKey function v1.2.0: Added functions for generating hashes with secret key for HMAC v1.1.0: Added functions for generating hashes of documents v1.0.1: First release (by Chase Putnam)
This plugin provides 16 expression functions for generating respective hash values.
Example Use: Rule Input: Name - string, type - Text Rule Definition: md5Hash(ri!string) Rule Output: 63b03e21a6f184cfd36247b5dc0e86cf getSignatureKey(key,dateStamp,regionName,serviceName) / signature key as hex string md5hash(Text) / md5hashdocument(Document) sha1hash(Text) / sha1hashdocument(Document) sha256hash(Text) / sha256hashdocument(Document) sha512hash(Text) / sha512hashdocument(Document) hmacmd5hash(Key, Text) / hmacmd5hashdocument(Key, Document) hmacsha1hash(Key, Text) / hmacsha1hashdocument(Key, Document) hmacsha256hash(Key, Text) / hmacsha256hashdocument(Key, Document) hmacsha512hash(Key, Text) / hmacsha512hashdocument(Key, Document)
2.1.0
[MIGRATED] v2.1.0 added support for use of the shared credentials store with the getSignatureKey method; fixed an older bug with some descriptions not defined in the i18n bundle v2.0.0 Add new getSignatureKey function to help with AWS integrations v1.2.0: Added functions for generating hashes with secret key for HMAC v1.1.0: Added functions for generating hashes of documents v1.0.1: First release (by Chase Putnam)
This plugin provides 16 expression functions for generating respective hash values.
Example Use: Rule Input: Name - string, type - Text Rule Definition: md5Hash(ri!string) Rule Output: 63b03e21a6f184cfd36247b5dc0e86cf md5hash(Text) / md5hashdocument(Document) sha1hash(Text) / sha1hashdocument(Document) sha256hash(Text) / sha256hashdocument(Document) sha512hash(Text) / sha512hashdocument(Document) hmacmd5hash(Key, Text) / hmacmd5hashdocument(Key, Document) hmacsha1hash(Key, Text) / hmacsha1hashdocument(Key, Document) hmacsha256hash(Key, Text) / hmacsha256hashdocument(Key, Document) hmacsha512hash(Key, Text) / hmacsha512hashdocument(Key, Document)
1.2.0
[MIGRATED] v1.2.0: Added functions for generating hashes with secret key for HMAC v1.1.0: Added functions for generating hashes of documents v1.0.1: First release (by Chase Putnam)
This plugin provides 16 expression functions for generating respective hash values.
Example Use: Rule Input: Name - string, type - Text Rule Definition: md5Hash(ri!string) Rule Output: 63b03e21a6f184cfd36247b5dc0e86cf md5hash(Text) / md5hashdocument(Document) sha1hash(Text) / sha1hashdocument(Document) sha256hash(Text) / sha256hashdocument(Document) sha512hash(Text) / sha512hashdocument(Document) hmacmd5hash(Key, Text) / hmacmd5hashdocument(Key, Document) hmacsha1hash(Key, Text) / hmacsha1hashdocument(Key, Document) hmacsha256hash(Key, Text) / hmacsha256hashdocument(Key, Document) hmacsha512hash(Key, Text) / hmacsha512hashdocument(Key, Document)