apply moved to gadget from Safe and Unsafe Gadget in raaz-primitives
hash fixed for moved apply in the Gadgets