The possibility of using transient four-wave mixing (TFWM) in optical amplitude encoding is studied theoretically. We developed an effective numerical method to solve coupled wave equations with discontinuous solutions, and to study the influences of system parameters on the quality of signal. It has been found that the TFWM system is suitable for encoding and it can generate high data rate communication signals.