Hi guys.
I’m currently running through a series of test cases regarding manual uploads:
Manual upload ,unhashed: Processes for about 12 hours, shows about 5k recipients
Automatic upload, hashed: Process for 100+ hours, shows “too small”.
Manual upload, hashed: Process for about 24 hours, shows “too small”.
At this point (unless there is a bug with uploading hashed recipients) I’m suspecting a problem with our hashing algorithm - however Twitter validates the uploaded file as having correctly hashed email addresses upon manual upload.
This is our sanitization/hashing code:
$normalized_email = strtolower(trim($email, " \t\r\n\0\x0B."));
$hashed_email = hash("sha256",$normalized_email);
Here are a selection of results from this process (I’m not comfortable posting the source emails, but I can provide them via direct message/email, or the whole file):
2fb7cae99d9d278e2b1912b2d0dcef4a5ab633ae9993745998274712df21727a
3063106bb6ef2fd81fc820bb70abc2a5aacaa3739b02460b20fe973fb67d66f5
1534d5235e7b29c210cdb32818ab6ed530bd47001bf7dc42838ebf70dc02e81e
2b396e706eb638537656ec3a14662c0c9a22cb8adb2463ec804cc4aea9b8b83a
7b3dbd5f610dfd08d775ac0e09b85c25c70b11aa0dc5708d62e7330c47b27235
Is there part of the hashing process I’m missing here? I’m totally at a loss as to how to continue working through this issue. I’m not seeing errors or anything now.