PrivateKey constructor

PrivateKey(Uint8List raw, { KeyType algorithm, KeyParameters parameters, ScryptParams scrypt })

Implementation

PrivateKey(Uint8List raw,
    {KeyType algorithm, KeyParameters parameters, ScryptParams scrypt})
    : super(raw, algorithm: algorithm, parameters: parameters) {
  if (scrypt == null) this.scrypt = scrypt ?? ScryptParams.defaultParams;
}