Skip to content

A CDAP Dataprep UDD for masking fields using a historical cipher

License

Notifications You must be signed in to change notification settings

vhajdari/mask-udd

Repository files navigation

Introduction

CDAP provides extensive support for user defined directives (UDDs) as a way to specify custom processing for DataPrep in CDAP. CDAP UDDs can currently be implemented in Java.

This UDD uses a Ceasar cipher to scramble text. It is not meant to be used in cases where you need strong encryption as Ceasar cihper is not very secure and any text scrambled with it can be easily unscrambled.

With this UDD you will be able to scramble columns of data so that the masked field can be used in join operations.

Usage Example

mask-scramble :<column_name> <cipher> <shift>

mask-scramble :firstName ceasar 9

mask-scramble :lastName rot13

About

A CDAP Dataprep UDD for masking fields using a historical cipher

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages