Class NonceCounter

  • public class NonceCounter
    extends Object
    NonceCounter provides a 1,000 item LRU cache counting the number of times a nonce has been seen.
    • Constructor Detail

      • NonceCounter

        public NonceCounter()
        Nonce counter.
    • Method Detail

      • count

        public String count​(String nonce)
        Count returns a hexadecimal string counting the number of times nonce has been seen. The first value returned for a nonce is 00000001.
        nonce - the nonce value to count
        formatted nonce value