Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getSHA512 (0.28 sec)

  1. src/main/java/jcifs/util/Crypto.java

                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
        /**
         * Get a SHA-512 message digest instance.
         * @return SHA512 digest instance
         */
        public static MessageDigest getSHA512() {
            try {
                return MessageDigest.getInstance("SHA-512");
            } catch (final NoSuchAlgorithmException e) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                throw new SmbUnsupportedOperationException();
            }
    
            MessageDigest dgst = switch (resp.getSelectedPreauthHash()) {
            case 1 -> Crypto.getSHA512();
            default -> throw new SmbUnsupportedOperationException();
            };
            if (oldHash != null) {
                dgst.update(oldHash);
            }
            dgst.update(input, off, len);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top