CryptoHashConfig class
Pseudonymization method that generates surrogates via cryptographic hashing.
Uses SHA-256. Outputs a base64-encoded representation of the hashed output
(for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=
).
Constructors
- CryptoHashConfig({String? cryptoKey, KmsWrappedCryptoKey? kmsWrapped})
- CryptoHashConfig.fromJson(Map json_)
Properties
- cryptoKey ↔ String?
-
An AES 128/192/256 bit key.
getter/setter pair
-
cryptoKeyAsBytes
↔ List<
int> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- kmsWrapped ↔ KmsWrappedCryptoKey?
-
KMS wrapped key.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited