Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hmacSigners (0.17 sec)

  1. internal/jwt/parser.go

    	}
    	for i := range hmacSigners {
    		h := hmacSigners[i].Hash
    		hmacSigners[i].HasherPool.New = func() interface{} {
    			return h.New()
    		}
    	}
    }
    
    // HashBorrower allows borrowing hashes and will keep track of them.
    func (s *SigningMethodHMAC) HashBorrower() HashBorrower {
    	return HashBorrower{pool: &s.HasherPool, borrowed: make([]hash.Hash, 0, 2)}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
Back to top