An encoder (10,30) and method for encoding data comprising a pseudo random
number generator (12) for generating an array of pseudo random numbers (15),
and calculating means (10,30) for calculating a checkword (11,23,25)
using the array of pseudo random numbers generated and a data sequence provided
by a data unit (13).