Interface CryptoUtils


public interface CryptoUtils
This interface gives you access to cryptographic features.
  • Method Summary

    Modifier and Type
    Method
    Description
    Generate a message digest for the supplied data using the specified algorithm
  • Method Details

    • generateDigest

      ByteArray generateDigest(ByteArray data, DigestAlgorithm algorithm)
      Generate a message digest for the supplied data using the specified algorithm
      Parameters:
      data - the data to generate the digest from
      algorithm - the message DigestAlgorithm to use
      Returns:
      the generated message digest