Masking is the process of replacing sensitive data with random characters in the same format, without a way to retrieve the original data. This is different from tokenization, which uses a token server to store the relationship between the original and token values. Obfuscation is a broader term that includes masking, but also other methods such as encryption or hashing. Hashing is a one-way function that converts data into a fixed-length output that cannot be reversed.