Skip to content

Standard transformers

Standard transformers are ready-to-use methods that require no customization and perform with just as little as parameters input. Below you can find an index of all standard transformers currently available in Greenmask.

  1. Cmd — transforms data via external program using stdin and stdout interaction.
  2. Dict — replaces values matched by dictionary keys.
  3. Hash — generates a hash of the text value.
  4. Masking — masks a value using one of the masking behaviors depending on your domain.
  5. NoiseDate — randomly adds or subtracts a duration within the provided ratio interval to the original date value.
  6. NoiseFloat — adds or subtracts a random fraction to the original float value.
  7. NoiseInt — adds or subtracts a random fraction to the original integer value.
  8. RandomBool — generates random boolean values.
  9. RandomChoice — replaces values randomly chosen from a provided list.
  10. RandomDate — generates a random date in a specified interval.
  11. RandomFloat — generates a random float within the provided interval.
  12. RandomInt — generates a random integer within the provided interval.
  13. RandomString — generates a random string using the provided characters within the specified length range.
  14. RandomUuid — generates a random unique user ID.
  15. RandomLatitude — generates a random latitude value.
  16. RandomLongitude — generates a random longitude value.
  17. RandomUnixTime — generates a random Unix timestamp.
  18. RandomDayOfWeek — generates a random day of the week.
  19. RandomDayOfMonth — generates a random day of the month.
  20. RandomMonthName — generates the name of a random month.
  21. RandomYearString — generates a random year as a string.
  22. RandomCentury — generates a random century.
  23. RandomTimezone — generates a random timezone.
  24. RandomEmail — generates a random email address.
  25. RandomUsername — generates a random username.
  26. RandomPassword — generates a random password.
  27. RandomMacAddress — generates a random MAC address.
  28. RandomDomainName — generates a random domain name.
  29. RandomURL — generates a random URL.
  30. RandomIPv4 — generates a random IPv4 address.
  31. RandomIPv6 — generates a random IPv6 address.
  32. RandomWord — generates a random word.
  33. RandomSentence — generates a random sentence.
  34. RandomParagraph — generates a random paragraph.
  35. RandomCCType — generates a random credit card type.
  36. RandomCCNumber — generates a random credit card number.
  37. RandomCurrency — generates a random currency code.
  38. RandomAmountWithCurrency — generates a random monetary amount with currency.
  39. RandomName — generates a full random name.
  40. RandomLastName — generates a random last name.
  41. RandomFirstName — generates a random first name.
  42. RandomFirstNameMale — generates a random male first name.
  43. RandomFirstNameFemale — generates a random female first name.
  44. RandomTitleMale — generates a random male title.
  45. RandomTitleFemale — generates a random female title.
  46. RandomPhoneNumber — generates a random phone number.
  47. RandomTollFreePhoneNumber — generates a random toll-free phone number.
  48. RandomE164PhoneNumber — generates a random phone number in E.164 format.
  49. RealAddress — generates a real address.
  50. RegexpReplace — replaces a string using a regular expression.
  51. Replace — replaces an original value by the provided one.
  52. SetNull — sets NULL value to the column.