HashMACString
4 min
applies cryptographic hashing algorithms with message authentication signing to text strings provide a hash mac (message authentication code) key for an extra level of security by default, hashed strings are converted to hex format and use utf 8 encoding syntax hashmacstring(textvalue, hashingalgorithm, key, isbase64result, isbase64key) enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes business rules calculation rules (after save, with or without also recalculate on load) yes1 business rules calculation rules (before save or always, without also recalculate on load) yes business rules calculation rules (before save or always, with recalculate on load) yes1 business rules editing rules yes2 business rules initialization rules yes business rules read only rules no business rules required rules yes2 business rules validation rules yes client expressions no object permissions no services no ldap no mobile no quick actions (except ui quick actions) yes ui quick actions no reports yes search/dashboard without field references no search/dashboard with field references no 1 not fully supported in calculation rules that have a condition of after save or the also recalculate on load option selected it may fail if the rule's field is used in a grid, form, or saved search 2 except when this field appears on a form or is triggered by such a field parameters parameter description textvalue the text data to have the hashing function applied hashingalgorithm hashing algorithm for the function, the following are supported md5 sha1 sha256 sha512 key hash function key value isbase64result (optional) flag for returning result in base64 format default value is false isbase64key (optional) flag to specify that key is in base64 format default value is false return value string hash, either in hexidecimal format or base64 encoded example $(hashmacstring("test value", "md5", "keyvalue", false, false)) returns this value "10ffe441a1b9db39adb520d9781958db"
