master_pass not master_key
use CryptX CBC & unpack instead of substr