mime-typesmedia-type

What Media Type is encrypted text?


I'm encrypting a file and saving it in AWS. What Media Type (FKA MIME-type) is encrypted text? "text/plain" doesn't seem right.


Solution

  • Use

    application/octet-stream
    

    which is intended for arbitrary binary data - perfect for an encrypted file that by definition can't be interpreted. (RFC2046)