very very simple hash codec for puzzler