refactor the crypto code a bit
adds pseudo-unique ID generation for individual credentials
adds tests for crypto
Merge pull request #219 from waltzio/unique-credential-id

Adds ability to use a unique ID per set of credentials