generateNonce static method
Gera um nonce criptograficamente seguro de 12 bytes (ChaCha20 / AES-GCM).
Nunca reutilize o mesmo nonce com a mesma chave.
Implementation
static Uint8List generateNonce() => _randomBytes(12);
Gera um nonce criptograficamente seguro de 12 bytes (ChaCha20 / AES-GCM).
Nunca reutilize o mesmo nonce com a mesma chave.
static Uint8List generateNonce() => _randomBytes(12);