KeyDerivation constructor

KeyDerivation(
  1. Uint8List key
)

Creates a new KeyDerivation instance with the given key.

Implementation

KeyDerivation(Uint8List key) : secret = SecretKey(key);