Class KeyCreationExample

java.lang.Object
de.das.encrypter.examples.KeyCreationExample

public class KeyCreationExample extends Object
This example demonstrates how EncryptionFactory will be used for the creation of keys. The parameters to be specified are the length of the keys, the length of their names (which is formed here from random characters but can be any file name), the number of keys (means the size of the key bundle) and the destination (preferably the "Bundle" folder in the root directory of a drive). The generated keys then have a unique ID and the header by which the EncryptionFactory can identify the key bundles. The automatic key bundle searcher will find them later.
  • Constructor Details

    • KeyCreationExample

      public KeyCreationExample()
  • Method Details

    • main

      public static void main(String[] args)