refine some of the encription framework, do not throw exception if we
could.
add a test for guava framework