Digital signatures - chapter 1
These examples were written in the context of Chapter 1 - "Understanding the concept of digital signatures" of the Digital Signatures for PDF documents eBook.
An example showing how to use the MessageDigest class:
An example demonstrating the use of the Bouncy Castle library:
An example of a simple class to encrypt and decrypt messages: