simple util to gen a random hash
trying a big refactor around how signatures are handled, in progress