calculate -> hash

closes #12
1.3.1