li><li class="listitem"><p>
     The data is prefixed with a block of random bytes.  This is equivalent
     to using a random IV.
    </p></li><li class="listitem"><p>
     A SHA1 hash of the random prefix and data is appended.
    </p></li><li class="listitem"><p>
     All this is encrypted with the session key and placed in the data packet.
    </p></li></ol></div><div class="sect3" id="PGCRYPTO-PGP-ENC-FUNCS-PGP-SYM-ENCRYPT"><div class="titlepage"><div><div><h4 class="title">F.28.3.1. <code class="func