Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for sha1 (0.02 sec)

  1. src/main/java/jcifs/pac/PacSignature.java

     * supporting various checksum algorithms including HMAC-MD5 and HMAC-SHA1 with AES.
     */
    public class PacSignature {
    
        /**
         * Kerberos checksum type for HMAC-MD5 (ARCFOUR-HMAC).
         */
        public static final int KERB_CHECKSUM_HMAC_MD5 = 0xFFFFFF76;
        /**
         * Kerberos checksum type for HMAC-SHA1-96 with AES-128.
         */
        public static final int HMAC_SHA1_96_AES128 = 0x0000000F;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. cmd/sftp-server.go

    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=85
    var supportedMACs = []string{
    	"hmac-sha2******@****.***", "hmac-sha2******@****.***", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha1", "hmac-sha1-96",
    }
    
    func sshPubKeyAuth(c ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error) {
    	return authenticateSSHConnection(c, key, nil)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. cmd/postpolicyform_test.go

    			name:    "unknown key XAmzChecksumSHA1 is error as it does not appear in policy",
    			fv:      defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.AmzChecksumSHA1), "sha1-val"),
    			wantErr: `Each form field that you specify in a form must appear in the list of policy conditions. "X-Amz-Checksum-Sha1" not specified in the policy.`,
    		},
    		{
    			name:    "unknown key XAmzChecksumSHA256 is error as it does not appear in policy",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. cmd/signature-v2.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"crypto/hmac"
    	"crypto/sha1"
    	"crypto/subtle"
    	"encoding/base64"
    	"fmt"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    
    	xhttp "github.com/minio/minio/internal/http"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

       *     </ul>
       */
      @Deprecated
      public static HashFunction sha1() {
        return Sha1Holder.SHA_1;
      }
    
      private static final class Sha1Holder {
        static final HashFunction SHA_1 = new MessageDigestHashFunction("SHA-1", "Hashing.sha1()");
      }
    
      /** Returns a hash function implementing the SHA-256 algorithm (256 hash bits). */
      public static HashFunction sha256() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacMac.java

                ms_usage = 8;
            case 9:
                ms_usage = 8;
            case 23:
                ms_usage = 13;
            }
            return ms_usage;
        }
    
        /**
         * Calculates a MAC using HMAC-SHA1 with AES key derivation.
         * This method supports both AES-128 and AES-256 encryption types.
         *
         * @param usage the Kerberos key usage number for this operation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

        private static final String USER_PRINCIPAL_NAME = "******@****.***";
        private static final String USER_REALM = "EXAMPLE.COM";
        private static final int ENCRYPTION_TYPE = 23; // aes128-cts-hmac-sha1-96
        private static final byte[] ENCRYPTED_DATA = "encrypted-data".getBytes();
    
        @BeforeEach
        void setUp() {
            keys = new KerberosKey[] { kerberosKey };
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Hashing.java

       *     </ul>
       */
      @Deprecated
      public static HashFunction sha1() {
        return Sha1Holder.SHA_1;
      }
    
      private static final class Sha1Holder {
        static final HashFunction SHA_1 = new MessageDigestHashFunction("SHA-1", "Hashing.sha1()");
      }
    
      /** Returns a hash function implementing the SHA-256 algorithm (256 hash bits). */
      public static HashFunction sha256() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

            defaultSettings.put("onelogin.saml2.security.want_xml_validation", "true");
            defaultSettings.put("onelogin.saml2.security.signature_algorithm", "http://www.w3.org/2000/09/xmldsig#rsa-sha1");
            defaultSettings.put("onelogin.saml2.organization.name", "CodeLibs");
            defaultSettings.put("onelogin.saml2.organization.displayname", "Fess");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (3)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          )
        }
    
        val headerAccept = response.header("Sec-WebSocket-Accept")
        val acceptExpected = (key + WebSocketProtocol.ACCEPT_MAGIC).encodeUtf8().sha1().base64()
        if (acceptExpected != headerAccept) {
          throw ProtocolException(
            "Expected 'Sec-WebSocket-Accept' header value '$acceptExpected' but was '$headerAccept'",
          )
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top