Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for Crypto (0.18 sec)

  1. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     */
    package org.codelibs.core.crypto;
    
    import java.io.UnsupportedEncodingException;
    import java.security.InvalidKeyException;
    import java.security.Key;
    import java.security.NoSuchAlgorithmException;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    
    import javax.crypto.BadPaddingException;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureCredentialStorage.java

    import java.security.SecureRandom;
    import java.security.spec.KeySpec;
    import java.util.Arrays;
    import java.util.Base64;
    
    import javax.crypto.Cipher;
    import javax.crypto.SecretKey;
    import javax.crypto.SecretKeyFactory;
    import javax.crypto.spec.GCMParameterSpec;
    import javax.crypto.spec.PBEKeySpec;
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.DestroyFailedException;
    import javax.security.auth.Destroyable;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

    import jcifs.internal.smb1.trans.nt.SmbComNtCancel;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbTransportInternal;
    import jcifs.util.Crypto;
    import jcifs.util.Hexdump;
    
    /**
     *
     *
     * <p>This class is intended for internal use.</p>
     */
    public class SMB1SigningDigest implements SMBSigningDigest {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                        }
                    }
    
                    MessageDigest hmac = Crypto.getHMACT64(ntHash);
                    hmac.update(Strings.getUNIBytes(this.username.toUpperCase()));
                    hmac.update(Strings.getUNIBytes(this.domain.toUpperCase()));
                    byte[] ntlmv2Hash = hmac.digest();
                    hmac = Crypto.getHMACT64(ntlmv2Hash);
                    hmac.update(chlng);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/NoSuchPaddingRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import javax.crypto.NoSuchPaddingException;
    
    /**
     * Exception that wraps {@link NoSuchPaddingException}.
     *
     * @author shinsuke
     */
    public class NoSuchPaddingRuntimeException extends ClRuntimeException {
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/BadPaddingRuntimeException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import javax.crypto.BadPaddingException;
    
    /**
     * Signals that this exception has been thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
     * @author shinsuke
     */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import javax.crypto.IllegalBlockSizeException;
    
    /**
     * Signals that this exception has been thrown when a block cipher is supplied with input data whose length is not a multiple of the cipher's block size, or that has been padded to the wrong length.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.java

                    System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8);
    
                    final MessageDigest md4 = Crypto.getMD4();
                    md4.update(passwordHash);
                    final byte[] userSessionKey = md4.digest();
    
                    final MessageDigest hmac = Crypto.getHMACT64(userSessionKey);
                    hmac.update(sessionNonce);
                    final byte[] ntlm2SessionKey = hmac.digest();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

    import java.net.UnknownHostException;
    import java.security.GeneralSecurityException;
    import java.security.Key;
    import java.security.NoSuchAlgorithmException;
    import java.util.Collections;
    
    import javax.crypto.KeyGenerator;
    import javax.crypto.SecretKey;
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.bouncycastle.asn1.ASN1EncodableVector;
    import org.bouncycastle.asn1.ASN1Integer;
    import org.bouncycastle.asn1.BERTags;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.crypto;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top