Tokenize converts a PII value to a token using the default standard mode. Parameters: - value string: The original PII value to be tokenized. Returns: - string: The tokenized value. - error: An error if tokenization fails.
(value string)
| 77 | // - string: The tokenized value. |
| 78 | // - error: An error if tokenization fails. |
| 79 | func (s *TokenizationService) Tokenize(value string) (string, error) { |
| 80 | return s.TokenizeWithMode(value, StandardMode) |
| 81 | } |
| 82 | |
| 83 | // TokenizeWithMode converts a PII value to a token using the specified mode. |
| 84 | // |