Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 947 for decrypto (0.14 sec)

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

            try {
                return Base64Util.encode(encrypto(text.getBytes(charsetName)));
            } catch (final UnsupportedEncodingException e) {
                throw new UnsupportedEncodingRuntimeException(e);
            }
        }
    
        public byte[] decrypto(final byte[] data) {
            final Cipher cipher = pollDecryptoCipher();
            byte[] decrypted;
            try {
                decrypted = cipher.doFinal(data);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to decrypt {}", rolesStr, e);
                    }
                    return;
                }
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("role: original: {}, decrypto: {}", value, rolesStr);
            }
    
            if (valueSeparator.length() > 0) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/crypto/crypto.go

    }
    
    const (
    	MD4         Hash = 1 + iota // import golang.org/x/crypto/md4
    	MD5                         // import crypto/md5
    	SHA1                        // import crypto/sha1
    	SHA224                      // import crypto/sha256
    	SHA256                      // import crypto/sha256
    	SHA384                      // import crypto/sha512
    	SHA512                      // import crypto/sha512
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. cmd/encryption-v1.go

    	case crypto.SSEC:
    		objectKey := crypto.GenerateKey(key, rand.Reader)
    		sealedKey = objectKey.Seal(key, crypto.GenerateIV(rand.Reader), crypto.SSEC.String(), bucket, object)
    		crypto.SSEC.CreateMetadata(metadata, sealedKey)
    		return objectKey, nil
    	default:
    		return crypto.ObjectKey{}, fmt.Errorf("encryption type '%v' not supported", kind)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. internal/config/crypto.go

    	buffer.Write(metadata)
    
    	return io.MultiReader(
    		&buffer,
    		stream.EncryptReader(plaintext, nonce, nil),
    	), nil
    }
    
    // Decrypt decrypts the ciphertext using a key managed by the KMS.
    // The same context that have been used during encryption must be
    // provided.
    func Decrypt(k *kms.KMS, ciphertext io.Reader, associatedData kms.Context) (io.Reader, error) {
    	const (
    		MaxMetadataSize = 1 << 20 // max. size of the metadata
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/crypto/rsa/pkcs1v15.go

    package rsa
    
    import (
    	"bytes"
    	"crypto"
    	"crypto/internal/boring"
    	"crypto/internal/randutil"
    	"crypto/subtle"
    	"errors"
    	"io"
    )
    
    // This file implements encryption and decryption using PKCS #1 v1.5 padding.
    
    // PKCS1v15DecryptOptions is for passing options to PKCS #1 v1.5 decryption using
    // the [crypto.Decrypter] interface.
    type PKCS1v15DecryptOptions struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. src/crypto/cipher/cbc.go

    	if len(src)%x.blockSize != 0 {
    		panic("crypto/cipher: input not full blocks")
    	}
    	if len(dst) < len(src) {
    		panic("crypto/cipher: output smaller than input")
    	}
    	if alias.InexactOverlap(dst[:len(src)], src) {
    		panic("crypto/cipher: invalid buffer overlap")
    	}
    	if len(src) == 0 {
    		return
    	}
    
    	// For each block, we need to xor the decrypted data with the previous block's ciphertext (the iv).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:55:33 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  8. src/crypto/cipher/cfb.go

    // CFB (Cipher Feedback) Mode.
    
    package cipher
    
    import (
    	"crypto/internal/alias"
    	"crypto/subtle"
    )
    
    type cfb struct {
    	b       Block
    	next    []byte
    	out     []byte
    	outUsed int
    
    	decrypt bool
    }
    
    func (x *cfb) XORKeyStream(dst, src []byte) {
    	if len(dst) < len(src) {
    		panic("crypto/cipher: output smaller than input")
    	}
    	if alias.InexactOverlap(dst[:len(src)], src) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java

     * under the License.
     */
    package org.apache.maven.settings.crypto;
    
    /**
     * Decrypts passwords in the settings.
     *
     */
    public interface SettingsDecrypter {
    
        /**
         * Decrypts passwords in the settings.
         *
         * @param request The settings decryption request that holds the parameters, must not be {@code null}.
         * @return The result of the settings decryption, never {@code null}.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/crypto/crypto.go

    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 crypto
    
    import (
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/rand"
    
    	"github.com/pkg/errors"
    )
    
    // CreateRandBytes returns a cryptographically secure slice of random bytes with a given size
    func CreateRandBytes(size uint32) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 04 08:41:27 UTC 2021
    - 2.1K bytes
    - Viewed (0)
Back to top