Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 229 for P256 (0.63 sec)

  1. android/guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      // goodFastHash(256) uses Murmur3_128. Use the same epsilon bounds.
      public void testGoodFastHash256() {
        HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(256), 250, 0.20);
        HashTestUtils.checkAvalanche(Hashing.goodFastHash(256), 500, 0.17);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.goodFastHash(256));
        HashTestUtils.checkNoFunnels(Hashing.goodFastHash(256));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

        fun X509Certificate.sha256Hash(): ByteString = publicKey.encoded.toByteString().sha256()
    
        /**
         * Returns the SHA-256 of `certificate`'s public key.
         *
         * In OkHttp 3.1.2 and earlier, this returned a SHA-1 hash of the public key. Both types are
         * supported, but SHA-256 is preferred.
         */
        @JvmStatic
        fun pin(certificate: Certificate): String {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacSignature.java

        /**
         * Kerberos checksum type for HMAC-SHA1-96 with AES-128.
         */
        public static final int HMAC_SHA1_96_AES128 = 0x0000000F;
        /**
         * Kerberos checksum type for HMAC-SHA1-96 with AES-256.
         */
        public static final int HMAC_SHA1_96_AES256 = 0x00000010;
    
        /**
         * Kerberos encryption type for ARCFOUR-HMAC (RC4-HMAC).
         */
        public static final int ETYPE_ARCFOUR_HMAC = 23;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

    @DisplayName("CIFSUnsupportedCryptoException Tests")
    class CIFSUnsupportedCryptoExceptionTest extends BaseTest {
    
        private static final String CRYPTO_ERROR_MESSAGE = "Unsupported cryptographic algorithm: AES-256-GCM";
        private static final String ALGORITHM_NAME = "AES-256-GCM";
    
        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
        void testDefaultConstructor() {
            // Given & When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. maven-tests/mvnw

      verbose " - Running Downloader.java ..."
      "$(native_path "$JAVACMD")" -cp "$(native_path "$TMP_DOWNLOAD_DIR")" Downloader "$distributionUrl" "$(native_path "$targetZip")"
    fi
    
    # If specified, validate the SHA-256 sum of the Maven distribution zip file
    if [ -n "${distributionSha256Sum-}" ]; then
      distributionSha256Result=false
      if [ "$MVN_CMD" = mvnd.sh ]; then
        echo "Checksum validation is not supported for maven-mvnd." >&2
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. docs/security/README.md

    - [PRF](#prf): HMAC-SHA-256
    - [AEAD](#aead): AES-256-GCM if the CPU supports AES-NI, ChaCha20-Poly1305 otherwise. More specifically AES-256-GCM is only selected for X86-64 CPUs with AES-NI extension.
    
    Further any secret key (apart from the KMS-generated ones) is 256 bits long. The KMS-generated keys may be 256 bits but this depends on the KMS capabilities and configuration.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. cmd/hasher.go

    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)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 13:00:19 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        }
    
        @Test
        @DisplayName("Test context encoding")
        public void testEncoding() {
            byte[] buffer = new byte[256];
            int encodedSize = context.encode(buffer, 0);
    
            assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms
            assertEquals(context.size(), encodedSize);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/SipHashFunction.java

        // The number of bytes in the input.
        private long b = 0;
    
        // The final 64-bit chunk includes the last 0 through 7 bytes of m followed by null bytes
        // and ending with a byte encoding the positive integer b mod 256.
        private long finalM = 0;
    
        SipHasher(int c, int d, long k0, long k1) {
          super(CHUNK_SIZE);
          this.c = c;
          this.d = d;
          this.v0 ^= k0;
          this.v1 ^= k1;
          this.v2 ^= k0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            setDataCountMethod.setAccessible(true);
            setDataCountMethod.invoke(response, 256);
    
            int responseLength = response.getResponseLength();
            assertEquals(256, responseLength);
        }
    
        @Test
        void testGetResponseLengthZero() {
            // Test getResponseLength when dataCount is zero (default)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top