all you gotta do is have a buddy get past security before you and get to the gate. Tell him to scope shit out, and if he doesn't see any dogs, just bring the weed right through security. If there are dogs, then leave your weed in the car. Trying to buy weed in another country, as easy as it may or may not be, has the possibility of being sketch as fuck. You never know if you are dealing with a legit dealer, a cop, or some guy trying to rip off, blackmail, or in some other way fuck with an tourist that he clearly knows has money.
PS, yeah dogs can smell the hash oil just like they can smell pot, but if you know where to find hash oil, bring that instead. It is smaller, easier to hide, and all around fucking awesome.
PPS: the peanutbutter idea is horrible, even if it would prevent dogs from smelling it, both your carry on and your luggage go through x ray machines, and you better believe that security will check out a random jar that they see, because they don't know if it is peanut butter or plastic explosives. It is especially sketch on an international flight, where you have to go through customs, which does not allow you to bring food, especially open food, to other countries.
Last post script, I promise: Bring LSD if you are into that sort of thing. Tasteless and odorless, and you can put it right into your wallet. LSD on the beach has the potential to be fun as fuck.