OAEPPadder constructor

OAEPPadder({
  1. Hash? hasher,
  2. Random? random,
  3. Mgf? mgf,
})

Implementation

OAEPPadder({crypto.Hash? hasher, Random? random, Mgf? mgf})
    : random = random ?? Random.secure(),
      hasher = hasher ?? crypto.sha1,
      mgf = mgf ?? mgf1Sha1;