GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig class
Replaces an identifier with a surrogate using Format Preserving Encryption
(FPE) with the FFX mode of operation; however when used in the
ReidentifyContent
API method, it serves the opposite function by reversing
the surrogate back into the original identifier.
The identifier must be encoded as ASCII. For a given crypto key and context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped. See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization to learn more. Note: We recommend using CryptoDeterministicConfig for all use cases which do not require preserving the input alphabet space and size, plus warrant referential integrity.
Constructors
- GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig({String? commonAlphabet, GooglePrivacyDlpV2FieldId? context, GooglePrivacyDlpV2CryptoKey? cryptoKey, String? customAlphabet, int? radix, GooglePrivacyDlpV2InfoType? surrogateInfoType})
- GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig.fromJson(Map json_)
Properties
- commonAlphabet ↔ String?
-
Common alphabets.
Possible string values are:
getter/setter pair
- context ↔ GooglePrivacyDlpV2FieldId?
-
The 'tweak', a context may be used for higher security since the same
identifier in two different contexts won't be given the same surrogate.
getter/setter pair
- cryptoKey ↔ GooglePrivacyDlpV2CryptoKey?
-
The key used by the encryption algorithm.
getter/setter pair
- customAlphabet ↔ String?
-
This is supported by mapping these to the alphanumeric characters that the
FFX mode natively supports.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- radix ↔ int?
-
The native way to select the alphabet.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surrogateInfoType ↔ GooglePrivacyDlpV2InfoType?
-
The custom infoType to annotate the surrogate with.
getter/setter pair
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