Some visual cryptography functionality, in Python