radnomString extracted
 crypto.pseudoRandomBytes replaced with utils.randomString
some small changes due to the review from @mweibel. thx
conflict solved
Merge branch 'master' of github.com:hsr-ba-ajw-2013/BA