Chacha20.constructor constructor

const Chacha20.constructor({
  1. Random? random,
})

Constructor for classes that extend this class.

Optional parameter random is used by newSecretKey and newNonce.

Implementation

const Chacha20.constructor({Random? random}) : super(random: random);