Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HS256 (0.13 sec)

  1. internal/jwt/parser.go

    // Expects key type of []byte for both signing and validation
    type SigningMethodHMAC struct {
    	Name       string
    	Hash       crypto.Hash
    	HasherPool sync.Pool
    }
    
    // Specific instances for HS256, HS384, HS512
    var (
    	SigningMethodHS256 *SigningMethodHMAC
    	SigningMethodHS384 *SigningMethodHMAC
    	SigningMethodHS512 *SigningMethodHMAC
    )
    
    const base64BufferSize = 64 * humanize.KiByte
    
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
Back to top