Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for plainDataChecksum (0.08 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            byte[] plainData = cipher.doFinal(data, KerberosConstants.CHECKSUM_SIZE, plainDataLength);
    
            byte[] plainDataChecksum = getHmac(plainData, codeHmac);
            if ( plainDataChecksum.length >= KerberosConstants.CHECKSUM_SIZE )
                for ( int i = 0; i < KerberosConstants.CHECKSUM_SIZE; i++ )
                    if ( plainDataChecksum[ i ] != data[ i ] )
                        throw new GeneralSecurityException("Checksum failed while decrypting.");
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top