ChaChaPolyCrypt constructor

ChaChaPolyCrypt({
  1. required String key,
})

Creates 'Crypt', serves as encrypter/decrypter of text.

key should be base-64 encoded.

Implementation

ChaChaPolyCrypt({required String key}) : _key32 = key;