HPCC-8631 Changes based on code review

Added constructur for DynLib.
Removed unneeded base64_encode.
Renamed rand_salt to rand_salt_string, added saltLen param to function.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>