Output a Twig tag within another Twig tag
You are hashing the string '{{item.mailto}}'. There shouldn't be any need for the quotes or second set of curly braces.

Twig does not permit curly braces inside curly braces.

Try {{ item.mailto|hash }} instead.