Created
March 19, 2020 15:35
-
-
Save groovecoder/85ead4f8b90c878535577fffddeab512 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logger.info({ | |
'event_type': 'email_relay', | |
'relay_address_id': relay_address.id, | |
'relay_address': sha256(local_portion.encode('utf-8')).hexdigest(), | |
'real_address': sha256( | |
relay_address.user.email.encode('utf-8') | |
).hexdigest(), | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment