KeyFileCredentials.random constructor

KeyFileCredentials.random()

Creates a new random (32 bytes) keyfile value.

Implementation

factory KeyFileCredentials.random() => KeyFileCredentials._(
    ProtectedValue.fromBinary(ByteUtils.randomBytes(32)));