StreamingCipher constructor

const StreamingCipher({
  1. Random? random,
})

Constructor for subclasses.

Optional parameter random is used by newSecretKey and newNonce.

Implementation

const StreamingCipher({Random? random}) : super(random: random);