Hacker News new | ask | show | jobs
by tylermac1 2082 days ago
I wonder if they leverage iCloud services under the hood for images.
2 comments

Yes

> APNs can only relay messages up to 4KB or 16KB in size, depending on iOS or iPadOS version. If the message text is too long or if an attachment such as a photo is included, the attachment is encrypted using AES in CTR mode with a randomly generated 256-bit key and uploaded to iCloud. The AES key for the attachment, its Uniform Resource Identifier (URI), and a SHA-1 hash of its encrypted form are then sent to the recipient as the contents of an iMessage, with their confidentiality and integrity protected through normal iMessage encryption

https://support.apple.com/guide/security/how-imessage-sends-...

the images are all stored on cdns.