Class Macs


  • @Beta
    public class Macs
    extends Object
    functions for Mac
    • Constructor Detail

      • Macs

        public Macs()
    • Method Detail

      • asByteProcessor

        public static com.google.common.io.ByteProcessor<byte[]> asByteProcessor​(Mac mac)
        Computes and returns the MAC value for a supplied input stream.
        Parameters:
        mac - the mac object
        Returns:
        the result of Mac.doFinal() on ByteProcessor.getResult()