- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for sharedSecret (0.3 sec)
-
src/crypto/internal/hpke/hpke.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 7K bytes - Viewed (0) -
src/crypto/ecdh/ecdh_test.go
t.Fatal(err) } secret, err := key.ECDH(peer) if err != nil { t.Fatal(err) } if !bytes.Equal(secret, hexDecode(t, v.SharedSecret)) { t.Errorf("shared secret does not match: %x %x %s %x", secret, sha256.Sum256(secret), v.SharedSecret, sha256.Sum256(hexDecode(t, v.SharedSecret))) } }) } func hexDecode(t *testing.T, s string) []byte { b, err := hex.DecodeString(s) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 18K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke_test.go
t.Errorf("unexpected encapsulated key, got: %x, want %x", encap, expectedEncap) } expectedSharedSecret := mustDecodeHex(t, setup["shared_secret"]) if !bytes.Equal(context.sharedSecret, expectedSharedSecret) { t.Errorf("unexpected shared secret, got: %x, want %x", context.sharedSecret, expectedSharedSecret) } expectedKey := mustDecodeHex(t, setup["key"]) if !bytes.Equal(context.key, expectedKey) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 4.7K bytes - Viewed (0) -
proguard/base.pro
# optimized code would preclude lots of optimization, like converting enums # into ints. # Throwables uses internal APIs for lazy stack trace resolution -dontnote sun.misc.SharedSecrets -keep class sun.misc.SharedSecrets { *** getJavaLangAccess(...); } -dontnote sun.misc.JavaLangAccess -keep class sun.misc.JavaLangAccess { *** getStackTraceElement(...); *** getStackTraceDepth(...); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 09 00:29:01 UTC 2023 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess"; /** SharedSecrets class name to load using reflection */ @J2ktIncompatible @GwtIncompatible // not used by GWT emulation @VisibleForTesting static final String SHARED_SECRETS_CLASSNAME = "sun.misc.SharedSecrets"; /** Access to some fancy internal JVM internals. */ @J2ktIncompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Mar 06 15:38:58 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess"; /** SharedSecrets class name to load using reflection */ @J2ktIncompatible @GwtIncompatible // not used by GWT emulation @VisibleForTesting static final String SHARED_SECRETS_CLASSNAME = "sun.misc.SharedSecrets"; /** Access to some fancy internal JVM internals. */ @J2ktIncompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Mar 06 15:38:58 UTC 2024 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
static Object javaLangAccess = null; static Method newStringUnsafeMethod = null; static { try { final Class<?> sharedSecretsClass = Class.forName("sun.misc.SharedSecrets"); javaLangAccess = sharedSecretsClass.getDeclaredMethod("getJavaLangAccess").invoke(null); final Class<?> javaLangAccessClass = Class.forName("sun.misc.JavaLangAccess");
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.7K bytes - Viewed (0)