changed visibility of encrypt and decrypt to package and moved unit test...

...s to same package