These examples were written in the context of Chapter 1 - "Understanding the concept of digital signatures" of the Digital Signatures for PDF documents eBook.


c1_01_digestdefault

 An example showing how to use the MessageDigest class:


c1_02_digestbc

An example demonstrating the use of the Bouncy Castle library:


c1_03_encryptdecrypt

An example of a simple class to encrypt and decrypt messages: