Gentry scheme