serialize internal closure slots
crypto:hash-string function