generateIv static method

Uint8List generateIv()

Gera um IV criptograficamente seguro de 16 bytes (AES-CBC / AES-CTR).

Nunca reutilize o mesmo IV com a mesma chave.

Implementation

static Uint8List generateIv() => _randomBytes(16);