Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSalt (0.11 sec)

  1. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            assertNotNull(context);
            assertEquals(PreauthIntegrityService.HASH_ALGO_SHA512, context.getHashAlgorithm());
            assertArrayEquals(salt, context.getSalt());
            assertTrue(context.isValid());
            assertNotNull(context.getCurrentHash());
        }
    
        @Test
        @DisplayName("Test preauth hash updates")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/PreauthIntegrityService.java

                this.hashAlgorithm = hashAlgorithm;
                this.currentHash = new byte[HASH_SIZE_SHA512]; // Initialize with zeros
                this.isValid = true;
            }
    
            public byte[] getSalt() {
                return salt.clone();
            }
    
            public int getHashAlgorithm() {
                return hashAlgorithm;
            }
    
            public byte[] getCurrentHash() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. README.md

    // Java 21 Sequenced Collections support
    SequencedCollection<String> sequenced = CollectionsUtil.newLinkedHashSet();
    String first = CollectionsUtil.getFirst(sequenced);
    String last = CollectionsUtil.getLast(sequenced);
    SequencedCollection<String> reversed = CollectionsUtil.reversed(sequenced);
    
    // Specialized collections
    LruHashMap<String, Object> lruCache = new LruHashMap<>(100); // LRU cache with max 100 entries
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top