Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,676 for base64 (0.06 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

    import jcifs.smb1.netbios.NbtAddress;
    import jcifs.smb1.smb1.NtlmChallenge;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbSession;
    import jcifs.smb1.util.Base64;
    import jcifs.smb1.util.LogStream;
    
    /**
     * This servlet Filter can be used to negotiate password hashes with
     * MSIE clients using NTLM SSP. This is similar to <tt>Authentication:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  2. internal/auth/credentials.go

    	}
    	if length < secretKeyMinLen {
    		return "", errors.New("auth: secret key length is too short")
    	}
    
    	key := make([]byte, base64.RawStdEncoding.DecodedLen(length))
    	if _, err := io.ReadFull(random, key); err != nil {
    		return "", err
    	}
    
    	s := base64.RawStdEncoding.EncodeToString(key)
    	return strings.ReplaceAll(s, "/", "+"), nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. docs/kms/IAM.md

    setting the env. variable `MINIO_KMS_SECRET_KEY`. It expects the following
    format:
    
    ```sh
    MINIO_KMS_SECRET_KEY=<key-name>:<base64-value>
    ```
    
    First generate a 256 bit random key via:
    
    ```sh
    $ cat /dev/urandom | head -c 32 | base64 -
    OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    ```
    
    Now, you can set `MINIO_KMS_SECRET_KEY` like this:
    
    ```sh
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. tests/test_security_http_basic_realm.py

    from base64 import b64encode
    
    from fastapi import FastAPI, Security
    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    security = HTTPBasic(realm="simple")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPBasicCredentials = Security(security)):
        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. internal/jwt/parser.go

    	// Signature is valid, lets validate the claims for
    	// other fields such as expiry etc.
    	return claims.Valid()
    }
    
    // base64DecodeBytes returns the bytes represented by the base64 string s.
    func base64DecodeBytes(b []byte, buf []byte) (int, error) {
    	return base64.RawURLEncoding.Decode(buf, b)
    }
    
    // ParseUnverifiedMapClaims - WARNING: Don't use this method unless you know what you're doing
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.user;
    
    import java.util.Base64;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.function.Consumer;
    
    import org.apache.commons.lang3.ArrayUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.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 (
    	"context"
    	"encoding/base64"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"path"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/klauspost/readahead"
    	"github.com/minio/minio-go/v7/pkg/set"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  8. internal/hash/reader.go

    				r.contentHash.Raw, err = base64.StdEncoding.DecodeString(r.contentHash.Encoded)
    				if err != nil || len(r.contentHash.Raw) == 0 {
    					return 0, ChecksumMismatch{Got: r.contentHash.Encoded}
    				}
    			}
    			if sum := r.contentHasher.Sum(nil); !bytes.Equal(r.contentHash.Raw, sum) {
    				err := ChecksumMismatch{
    					Want: r.contentHash.Encoded,
    					Got:  base64.StdEncoding.EncodeToString(sum),
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    import java.util.Map;
    import java.util.Map.Entry;
    
    import javax.net.ssl.HostnameVerifier;
    import javax.net.ssl.HttpsURLConnection;
    import javax.net.ssl.SSLSocketFactory;
    
    import org.bouncycastle.util.encoders.Base64;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.RuntimeCIFSException;
    import jcifs.ntlmssp.NtlmFlags;
    import jcifs.ntlmssp.NtlmMessage;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  10. api/go1.22.txt

    pkg debug/elf, const R_MIPS_PC32 R_MIPS #61974
    pkg encoding/base32, method (*Encoding) AppendDecode([]uint8, []uint8) ([]uint8, error) #53693
    pkg encoding/base32, method (*Encoding) AppendEncode([]uint8, []uint8) []uint8 #53693
    pkg encoding/base64, method (*Encoding) AppendDecode([]uint8, []uint8) ([]uint8, error) #53693
    pkg encoding/base64, method (*Encoding) AppendEncode([]uint8, []uint8) []uint8 #53693
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top