Direct production of high pressure hydrogen