in reply to compare string problem
I get AhYQaNeqCn8= and not hED7MTyAXjY=. So it seems your cypher text is wrong.