I realize this is almost one year later, but it solved a perplexing problem for me.
After inserting various texts into a calculated container field, creating another calculation field using the
GetContainerAttribute (CalculatedContainerField; "MD5" )
produces the unique strings I need.
Since this can be done in plain Pro, a custom function isn't possible or needed...
Thanks for waking me up!
...this also means I don't need a plugin for MD5 calcs...
HexEncode ( CryptDigest ( "string" ; "MD5" ) )
Supports the following algorithms: