compat with LuaCrypto support seal/open fucntion