support m9 encrypt/decrypt