Decrypt ChaCha20-Poly1305 (8 Byte Nonce) in Dart

250 Views Asked by At

Poly1305 encrypted UDP-Stream from a web server with a 8 Byte Nonce. Is there a way to decrypt this in dart? I tried these packages:

sodium_libs (accepted only XChaCha20-Poly1305-IETF / 24 Byte Nonce)

pointycastle (accepted only ChaCha20-Poly1305-IETF / 12 Byte Nonce)

Is there any way to decrypt the classic ChaCha20-Poly1305 with a 8 Byte Nonce? It was possible with the old flutter_sodium package, but this is deprecated

0

There are 0 best solutions below