Class Poly1305Mac

    • Constructor Detail

      • Poly1305Mac

        public Poly1305Mac()
    • Method Detail

      • update

        public void update​(byte[] in,
                           int offset,
                           int length)
        Specified by:
        update in interface Mac
      • updateUInt

        public void updateUInt​(long value)
        Specified by:
        updateUInt in interface Mac
      • getBlockSize

        public int getBlockSize()
        Specified by:
        getBlockSize in interface MacInformation
        Returns:
        MAC output block size in bytes - may be less than the default - e.g., MD5-96
      • getDefaultBlockSize

        public int getDefaultBlockSize()
        Specified by:
        getDefaultBlockSize in interface MacInformation
        Returns:
        The "natural" MAC block size in bytes