Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            catch ( NoSuchAlgorithmException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * @return SHA512 digest
         */
        public static MessageDigest getSHA512 () {
            try {
                return MessageDigest.getInstance("SHA-512");
            }
            catch ( NoSuchAlgorithmException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                throw new SmbUnsupportedOperationException();
            }
    
            MessageDigest dgst;
            switch ( resp.getSelectedPreauthHash() ) {
            case 1:
                dgst = Crypto.getSHA512();
                break;
            default:
                throw new SmbUnsupportedOperationException();
            }
    
            if ( oldHash != null ) {
                dgst.update(oldHash);
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top