MATLAB: How to use BCH encoder

bchdigital image processing

I need a code that will encrypt/decrypt a message using BCH encoder.
Related Question