is the only way to encrypt code and store it fro use the zend encoder/optimizor combination?
no
there are tons of ways you can encrypt data... depending on what you need... if you explain the purpose of your encryprion we can give you more info.