We construct certain error-correcting codes over finite rings and estimate
their parameters. For this purpose, we need to develop some tools, notably
an estimate for certain exponential sums and some results on canonical lift
s of elliptic curves. These results may be of independent interest.