There is a 'hash' java action in the community commons module from the appstore, maybe this is usefull for you?