Skip to main content
Skip table of contents

20.1 Key Generation

To generate a key, FioranoMQ comes bundled with a utility class called EncryptorImpl. This utility class allows applications to create keys for specified algorithms.
The methods within this utility class that support this function are given below:

20.1.1 public String generateKey (String algoName)

This API can be used to generate a key as shown below:

CODE
EncryptorImpl em = new EncryptorImpl ();
String key = em.generateKey ("DES");
Using this class requires adding the statement below to the application:
import fiorano.jms.services.msg.Encryption;
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.