Fixes #24. Now exposes encryption method with salts and IV as public
method.