Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hmacSigners (0.05 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top