Removing require from function context

`require('crypto')` was defined inside the function, so, on every call: `require('crypto')` will be required which is bad in terms of performance, I'm just spitting this out from there.

`jasmine-node` is not installed globally, which means fail when someone try to run tests without this module, let's rely on jasmine-node installed in node_modules (sourced at project folder).

That's all.
:beers: