buildPandoraEncrypter function

Converter<List<int>, String> buildPandoraEncrypter(
  1. String key
)

Builds a request/response encrypter using the given key.

Implementation

Converter<List<int>, String> buildPandoraEncrypter(String key) =>
    BlowfishECB(Uint8List.fromList(utf8.encode(key)))
        .encoder
        .fuse(const HexEncoder());