Interface Encoder


public interface Encoder
Encodes byte array from a MessageDigest to String. Common implementations encode to hex or base32 format.
  • Method Summary

    Modifier and Type
    Method
    Description
    encode(byte[] bytes)
    Encode a byte array to a string representation.
  • Method Details

    • encode

      String encode(byte[] bytes)
      Encode a byte array to a string representation.
      Parameters:
      bytes - the bytes to encode (typically from MessageDigest.digest())
      Returns:
      the encoded string representation