Wrapper for HElib