createKey method

Uint8List createKey([
  1. int length = 32
])

Creates random encryption key of length bytes long.

Returns Uint8List object containing created key.

Implementation

Uint8List createKey([int length = 32]) => _Cryptor().createKey(length);