encodeBytes method

List<int> encodeBytes(
  1. List<int> bytes
)

Encodes bytes via RC4 encryption.

However, actually calling RC4.encodeBytes and RC4.decodeBytes will give the same result.

Implementation

List<int> encodeBytes(List<int> bytes) => _crypt(bytes);