CryptData constructor
const
CryptData(})
Creates an instance of CryptData.
Paramaters:
id
The identifier name, must not exceed 32 characters in length and must be a sequence of characters in:[a-z0-9-]
.version
(Optional) The value for the version must be a sequence of characters in:[0-9]
.params
(Optional) A map containing name, value pairs of algorithm parameters. The names must not exceed 32 characters in length and must be a sequence of characters in:[a-z0-9-]
, the values must be a sequence of characters in:[a-zA-Z0-9/+.-]
.salt
(Optional) The salt bytes.hash
(Optional) The output hash bytes.
Implementation
const CryptData(
this.id, {
this.salt,
this.hash,
this.version,
this.params,
});