• Eufalconimorph
      link
      fedilink
      arrow-up
      32
      ·
      1 year ago

      Encrypt then sign. Always authenticate before any other operations like decryption. Don’t violate the cryptographic doom principle.

    • tvbusy@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      30
      ·
      1 year ago

      Encrypt then sign. Verification is often much faster than (or at worst as fast as) decryption. Signature can also be verified without decryption key, making it possible to verify the data along the way.