Download project
"Crypto Example" shows which cryptographic functions are available in CODESYS and how to use them.
Cryptographic techniques are important in order to achieve the following objectives when processing data:
In CODESYS, the libraries CmpCrypto.library and CmpX509Cert.library are provided for this purpose.
The sample project CryptoDemo.project included in the CODESYS package demonstrates how to use both libraries for different use cases.
This example covers the following topics:
The functionality of the sample project CryptoDemo.project is described in the document CryptoDemo.pdf.
The project CryptoCertDemo.project shows how a message can be encrypted by a sender and decrypted by a recipient using certificates.
The document is copied to the target directory when the CODESYS package is installed.