An encoder for encoding an input binary value of a binary input data sequence by generating an output current of an output current signal, the encoder including: a control module ; and a switchable resistive element configured to either be in a first state or in a different second state depending on a first input voltage at a first point in time and depending on a second input voltage at a later second point in time, wherein the control module is configured to apply the first input voltage to the switchable resistive element at the first point in time so that the first input voltage depends on said input binary value, wherein the control module is configured to apply the second input voltage to the switchable resistive element at the second point in time so that the second input voltage depends on a pseudo-random binary value of a plurality of pseudo-random binary values of a first binary pseudo-random data sequence, wherein the control module is configured to apply a third input voltage to the switchable resistive element at a third point in time after the second point in time so that the third input voltage depends on said pseudo-random binary value of the plurality of pseudo-random binary values of the first binary pseudo-random data sequence or depends on a pseudo-random binary value of a plurality of pseudo-random binary values of a second binary pseudo-random data sequence, and wherein switchable resistive element is configured, upon applying the third input voltage at the third point in time, to output said output current so that said output current depends on the third input voltage and depends on whether the switchable resistive element is in the first state or in the second state, wherein the control module comprises a multiplexer and lines, wherein the multiplexer is configured to connect the lines, wherein the control module is configured to apply the first input voltage, the second input voltage and the third input voltage to the switchable resistive element via the lines and via the multiplexer . a control module ; and a switchable resistive element configured to either be in a first state or in a different second state depending on a first input voltage at a first point in time and depending on a second input voltage at a later second point in time, wherein the control module is configured to apply the first input voltage to the switchable resistive element at the first point in time so that the first input voltage depends on said input binary value, wherein the control module is configured to apply the second input voltage to the switchable resistive element at the second point in time so that the second input voltage depends on a pseudo-random binary value of a plurality of pseudo-random binary values of a first binary pseudo-random data sequence, wherein the control module is configured to apply a third input voltage to the switchable resistive element at a third point in time after the second point in time so that the third input voltage depends on said pseudo-random binary value of the plurality of pseudo-random binary values of the first binary pseudo-random data sequence or depends on a pseudo-random binary value of a plurality of pseudo-random binary values of a second binary pseudo-random data sequence, and wherein switchable resistive element is configured, upon applying the third input voltage at the third point in time, to output said output current so that said output current depends on the third input voltage and depends on whether the switchable resistive element is in the first state or in the second state, wherein the control module comprises a multiplexer and lines, wherein the multiplexer is configured to connect the lines, wherein the control module is configured to apply the first input voltage, the second input voltage and the third input voltage to the switchable resistive element via the lines and via the multiplexer . <EOS>