Generate a new masking key for each frame