nonce & masterkey generator

- nonce generator
- masterkey generator
- added hamcrest matchers