Class SimpleHashParameters

java.lang.Object
com.scurrilous.circe.params.SimpleHashParameters
All Implemented Interfaces:
HashParameters

public class SimpleHashParameters extends Object implements HashParameters
Hash parameters consisting only of an algorithm name. Includes instances describing some commonly used algorithms.
  • Field Details

    • MD5

      public static final SimpleHashParameters MD5
      Represents the MD5 (128-bit) hash algorithm.
    • SHA1

      public static final SimpleHashParameters SHA1
      Represents the SHA-1 (160-bit) hash algorithm.
    • SHA256

      public static final SimpleHashParameters SHA256
      Represents the SHA-256 (256-bit) hash algorithm.
    • SHA384

      public static final SimpleHashParameters SHA384
      Represents the SHA-384 (384-bit) hash algorithm.
    • SHA512

      public static final SimpleHashParameters SHA512
      Represents the SHA-512 (512-bit) hash algorithm.
  • Constructor Details

    • SimpleHashParameters

      public SimpleHashParameters(String algorithm)
      Constructs a SimpleHashParameters with the given algorithm name.
      Parameters:
      algorithm - the name of the hash algorithm
  • Method Details