Implement decode function that returns payload

Implement decode function discussed in Issue #2. Should I write tests for this? Current tests are passing after implementing the new function in `verify()`. Also, is it worth mentioning on the README.md?