Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 123 for sha1 (0.03 seconds)

  1. internal/config/identity/openid/rsa-sha3_contrib.go

    // limitations under the License.
    
    package openid
    
    import (
    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3"
    )
    
    // Specific instances for RS256 and company
    var (
    	SigningMethodRS3256 *jwt.SigningMethodRSA
    	SigningMethodRS3384 *jwt.SigningMethodRSA
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/hash/MessageDigestCreationBenchmark.java

    /**
     * Benchmarks for comparing instance creation of {@link MessageDigest}s.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class MessageDigestCreationBenchmark {
    
      @Param({"MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512"})
      private String algorithm;
    
      private MessageDigest md;
    
      @BeforeExperiment
      void setUp() throws Exception {
        md = MessageDigest.getInstance(algorithm);
      }
    
      @Benchmark
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/util/mime.map

    application/x-mif              mif              #
    application/x-netcdf           nc cdf           #
    #application/x-sh               sh               # sh Shell Program
    application/x-shar             shar             #
    application/x-shockwave-flash  swf              # Macromedia Shockwave file
    application/x-spss             sav spp sbs sps spo # SPSS
    application/x-stuffit          sit              # Macintosh Stuff-It
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 5.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

            assertEquals("31f30ddbcb1bf8446576f0e64aa4c88a9f055e3c", MessageDigestUtil.digest("SHA-1", text));
            assertEquals("ecb666d778725ec97307044d642bf4d160aabb76f56c0069c71ea25b1e926825", MessageDigestUtil.digest("SHA-256", text));
    
            try {
                MessageDigestUtil.digest(null, text);
                assertTrue(false);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/PreauthIntegrityService.java

        // Default configuration
        private static final int DEFAULT_HASH_ALGORITHM = HASH_ALGO_SHA512;
        private static final int SALT_SIZE = 32; // 32 bytes as per SMB 3.1.1 spec
        private static final int HASH_SIZE_SHA512 = 64; // SHA-512 produces 64-byte hashes
    
        // Session-specific preauth integrity contexts
        private final ConcurrentMap<String, PreauthIntegrityContext> sessionContexts = new ConcurrentHashMap<>();
    
        // Security configuration
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. internal/crypto/key.go

    		unsealConfig = sio.Config{MinVersion: sio.Version20, Key: mac.Sum(nil)}
    	case InsecureSealAlgorithm:
    		sha := sha256.New()
    		sha.Write(extKey)
    		sha.Write(sealedKey.IV[:])
    		unsealConfig = sio.Config{MinVersion: sio.Version10, Key: sha.Sum(nil)}
    	}
    
    	if out, err := sio.DecryptBuffer(key[:0], sealedKey.Key[:], unsealConfig); len(out) != 32 || err != nil {
    		return ErrSecretKeyMismatch
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. .git-blame-ignore-revs

    # This file contains SHAs of changes that should be ignored when e.g.
    # running `git blame` on a file. Do not edit any of the existing commits.
    #
    # Use this file by running:
    #
    #     git blame --ignore-revs-file=.git-blame-ignore-rev <file>
    #
    # or by configuring `blame.ignoreRevsFile`. The latter ought to also work
    # with IDEs such as IntelliJ.
    
    
    # Format snapshot / restore directories in server
    1afe4b914301a23fa37c41c78185b7575a431cc4
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 31 14:55:52 GMT 2021
    - 631 bytes
    - Click Count (0)
  8. src/test/resources/jcifs/smb1/util/mime.map

    application/x-mif              mif              #
    application/x-netcdf           nc cdf           #
    #application/x-sh               sh               # sh Shell Program
    application/x-shar             shar             #
    application/x-shockwave-flash  swf              # Macromedia Shockwave file
    application/x-spss             sav spp sbs sps spo # SPSS
    application/x-stuffit          sit              # Macintosh Stuff-It
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. cmd/hasher.go

    package cmd
    
    import (
    	"crypto/md5"
    	"encoding/hex"
    
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // getSHA256Hash returns SHA-256 hash in hex encoding of given data.
    func getSHA256Hash(data []byte) string {
    	return hex.EncodeToString(getSHA256Sum(data))
    }
    
    // getSHA256Hash returns SHA-256 sum of given data.
    func getSHA256Sum(data []byte) []byte {
    	hash := sha256.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 27 13:00:19 GMT 2022
    - 1.4K bytes
    - Click Count (0)
  10. scripts/deploy_docs_status.py

        use_pr = next(
            (pr for pr in repo.get_pulls() if pr.head.sha == settings.commit_sha), None
        )
        if not use_pr:
            logging.error(f"No PR found for hash: {settings.commit_sha}")
            return
        commits = list(use_pr.get_commits())
        current_commit = [c for c in commits if c.sha == settings.commit_sha][0]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 05:56:53 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top