--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eiffel-users/39e93cdc-5813-43db-a551-bb64b4818009n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Eiffel Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eiffel-users/IQT_kNomGLA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eiffel-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eiffel-users/CAFq%2Bd44AVODy0j1j3wb1H2HfH78nAZ4UAvscETpv7NvtndZ6dQ%40mail.gmail.com.
The CIPHER_AES class is part of the Eiffel Crypto library, which is not included by default with the EiffelStudio development environment. To use the CIPHER_AES class and other classes from the Crypto library, you will need to download and install the library first.
You can download the Crypto library from the Eiffel Software website at the following link:
https://www.eiffel.com/cryptolib/
Once you have downloaded and installed the Crypto library, you can add it to your EiffelStudio project and import the CIPHER_AES class like this:
CIPHER_AES class and other classes from the Crypto library in your Eiffel code.I apologize for the confusion. It seems that the Eiffel Crypto library is no longer available on the Eiffel Software website.
Regarding the import clause, Eiffel does not have an import keyword as in other programming languages like Java or Python. Instead, Eiffel uses a concept called "clusters" to group related classes together.
To use a class from another cluster in your Eiffel code, you need to add that cluster to your project. This can be done using the EiffelStudio IDE by right-clicking on your project in the project toolbar and selecting "Add Cluster" from the context menu.
Once you have added the Crypto library cluster to your project, you can create an instance of the CIPHER_AES class and use its methods to encrypt and decrypt text strings. Here's an example:
CIPHER_AES class using the make_with_key_and_iv creation procedure, which takes the encryption key and initialization vector as arguments. We then use the encrypt method of the cipher to encrypt the plain text, and the decrypt method to decrypt the encrypted text. Note that we convert the text strings to ARRAY[CHARACTER_8] before passing them to the cipher, and convert the resulting ARRAY[CHARACTER_8] back to STRING for display.--
You received this message because you are subscribed to a topic in the Google Groups "Eiffel Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eiffel-users/IQT_kNomGLA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eiffel-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eiffel-users/8456b5c0-4c21-a772-bca2-1303a4f06fc0%40gobosoft.com.
You received this message because you are subscribed to a topic in the Google Groups "Eiffel Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eiffel-users/IQT_kNomGLA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eiffel-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eiffel-users/CAFq%2Bd44AVODy0j1j3wb1H2HfH78nAZ4UAvscETpv7NvtndZ6dQ%40mail.gmail.com.