work in progress
make aeshash much closer to Gos implementation