All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cryptacular.spec.Spec Maven / Gradle / Ivy

There is a newer version: 1.2.7
Show newest version
/* See LICENSE for licensing and NOTICE for copyright. */
package org.cryptacular.spec;

/**
 * Specification for a cryptographic primitive, e.g. block cipher, message digest, etc.
 *
 * @param    Type of specification.
 *
 * @author  Middleware Services
 */
public interface Spec
{

  /** @return  Cryptographic algorithm name. */
  String getAlgorithm();


  /**
   * Creates a new instance of the cryptographic primitive described by this specification.
   *
   * @return  New instance of cryptographic primitive.
   */
  T newInstance();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy