Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 149 of 149 for sha256 (0.24 sec)

  1. internal/config/identity/openid/jwt.go

    	jp := new(jwtgo.Parser)
    	jp.ValidMethods = []string{
    		"RS256", "RS384", "RS512",
    		"ES256", "ES384", "ES512",
    		"HS256", "HS384", "HS512",
    		"RS3256", "RS3384", "RS3512",
    		"ES3256", "ES3384", "ES3512",
    	}
    
    	keyFuncCallback := func(jwtToken *jwtgo.Token) (interface{}, error) {
    		kid, ok := jwtToken.Header["kid"].(string)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/oauth2-jwt.md

    ```
    
    </div>
    
    And copy the output to the variable `SECRET_KEY` (don't use the one in the example).
    
    Create a variable `ALGORITHM` with the algorithm used to sign the JWT token and set it to `"HS256"`.
    
    Create a variable for the expiration of the token.
    
    Define a Pydantic Model that will be used in the token endpoint for the response.
    
    Create a utility function to generate a new access token.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:45:10 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. api/go1.4.txt

    # CL 138800043 crypto: Add SHA3 functions in go.crypto/sha3 to the Hash enum., David Leon Gil <******@****.***>
    pkg crypto, const SHA3_224 = 10
    pkg crypto, const SHA3_224 Hash
    pkg crypto, const SHA3_256 = 11
    pkg crypto, const SHA3_256 Hash
    pkg crypto, const SHA3_384 = 12
    pkg crypto, const SHA3_384 Hash
    pkg crypto, const SHA3_512 = 13
    pkg crypto, const SHA3_512 Hash
    
    # CL 114680043 crypto: add Signer, Adam Langley <******@****.***>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/security/oauth2-jwt.md

    ```console
    $ openssl rand -hex 32
    
    09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7
    ```
    
    </div>
    
    然后,把生成的密钥复制到变量**SECRET_KEY**,注意,不要使用本例所示的密钥。
    
    创建指定 JWT 令牌签名算法的变量 **ALGORITHM**,本例中的值为 `"HS256"`。
    
    创建设置令牌过期时间的变量。
    
    定义令牌端点响应的 Pydantic 模型。
    
    创建生成新的访问令牌的工具函数。
    
    ```Python hl_lines="6  12-14  28-30  78-86"
    {!../../docs_src/security/tutorial004.py!}
    ```
    
    ## 更新依赖项
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/arm64error.s

    	SHA256SU1	V1.B16, V2.B16, V3.B16                   // ERROR "invalid arrangement"
    	SHA512SU1	V1.S4, V2.S4, V3.S4                      // ERROR "invalid arrangement"
    	SHA256H	V1.D2, V2, V3                                    // ERROR "invalid arrangement"
    	SHA512H	V1.S4, V2, V3                                    // ERROR "invalid arrangement"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 08 03:28:17 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  6. api/go1.2.txt

    pkg crypto/rsa, type PSSOptions struct
    pkg crypto/rsa, type PSSOptions struct, SaltLength int
    pkg crypto/sha1, func Sum([]uint8) [20]uint8
    pkg crypto/sha256, func Sum224([]uint8) [28]uint8
    pkg crypto/sha256, func Sum256([]uint8) [32]uint8
    pkg crypto/sha512, func Sum384([]uint8) [48]uint8
    pkg crypto/sha512, func Sum512([]uint8) [64]uint8
    pkg crypto/subtle, func ConstantTimeLessOrEq(int, int) int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/arm64.s

    	NOOP                                    // 1f2003d5
    	HINT $0                                 // 1f2003d5
    	DMB	$1
    	SVC
    
    // encryption
    	SHA256H	V9.S4, V3, V2                   // 6240095e
    	SHA256H2	V9.S4, V4, V3           // 8350095e
    	SHA256SU0	V8.S4, V7.S4            // 0729285e
    	SHA256SU1	V6.S4, V5.S4, V7.S4     // a760065e
    	SHA1SU0	V11.S4, V8.S4, V6.S4            // 06310b5e
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jul 24 18:45:14 UTC 2024
    - 95.2K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg crypto/md5, const BlockSize = 64
    pkg crypto/md5, const Size = 16
    pkg crypto/sha1, const BlockSize = 64
    pkg crypto/sha1, const Size = 20
    pkg crypto/sha256, const BlockSize = 64
    pkg crypto/sha256, const Size = 32
    pkg crypto/sha256, const Size224 = 28
    pkg crypto/sha512, const BlockSize = 128
    pkg crypto/sha512, const Size = 64
    pkg crypto/sha512, const Size384 = 48
    pkg crypto/tls, const NoClientCert = 0
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/security/oauth2-jwt.md

    ```console
    $ openssl rand -hex 32
    
    09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7
    ```
    
    </div>
    
    そして、出力された文字列を変数`SECRET_KEY`にコピーします。(例に記載している秘密鍵は実際に使用しないでください)
    
    JWTトークンの署名に使用するアルゴリズム`"HS256"`を指定した変数`ALGORITHM`を作成します。
    
    トークンの有効期限を指定した変数`ACCESS_TOKEN_EXPIRE_MINUTES`を作成します。
    
    レスポンスのトークンエンドポイントで使用するPydanticモデルを定義します。
    
    新しいアクセストークンを生成するユーティリティ関数を作成します。
    
    ```Python hl_lines="6  12-14  28-30  78-86"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (1)
Back to top