- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for Encrypt (0.16 sec)
-
src/main/java/jcifs/smb1/util/DES.java
} /// Encrypt a block of bytes. public void encrypt( byte[] clearText, byte[] cipherText ) { encrypt( clearText, 0, cipherText, 0 ); } /// Decrypt a block of bytes. public void decrypt( byte[] cipherText, byte[] clearText ) { decrypt( cipherText, 0, clearText, 0 ); } /** * encrypts an array where the length must be a multiple of 8
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 21.4K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
* * @param key * @return RC4 cipher */ public static Cipher getArcfour ( byte[] key ) { try { Cipher c = Cipher.getInstance("RC4"); c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "RC4")); return c; } catch ( NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException e ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Aug 17 17:34:29 GMT 2021 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
final SecretKeySpec sksSpec = new SecretKeySpec(key.getBytes(), algorithm); try { cipher = Cipher.getInstance(algorithm); cipher.init(Cipher.ENCRYPT_MODE, sksSpec); } catch (final InvalidKeyException e) { throw new InvalidKeyRuntimeException(e); } catch (final NoSuchAlgorithmException e) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
assertEquals(expect, ParameterUtil.encrypt(value)); value = ""; expect = ""; assertEquals(expect, ParameterUtil.encrypt(value)); value = "\n"; expect = ""; assertEquals(expect, ParameterUtil.encrypt(value)); value = "="; expect = "unknown.1="; assertEquals(expect, ParameterUtil.encrypt(value)); value = "=1\n=";
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ParameterUtil.java
paramMap.put(line.trim(), StringUtil.EMPTY); } } } } return paramMap; } public static String encrypt(final String value) { final StringBuilder buf = new StringBuilder(); final Pattern properyPattern = Pattern.compile(ComponentUtil.getFessConfig().getAppEncryptPropertyPattern());
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java
return fileAuthenticationBhv.selectByPK(id); } public void store(final FileAuthentication fileAuthentication) { fileAuthentication.setParameters(ParameterUtil.encrypt(fileAuthentication.getParameters())); fileAuthenticationBhv.insertOrUpdate(fileAuthentication, op -> { op.setRefreshPolicy(Constants.TRUE); }); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java
return webAuthenticationBhv.selectByPK(id); } public void store(final WebAuthentication webAuthentication) { webAuthentication.setParameters(ParameterUtil.encrypt(webAuthentication.getParameters())); webAuthenticationBhv.insertOrUpdate(webAuthentication, op -> { op.setRefreshPolicy(Constants.TRUE); }); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FileConfigService.java
return OptionalEntity.empty(); } return OptionalEntity.of(list.get(0)); } public void store(final FileConfig fileConfig) { fileConfig.setConfigParameter(ParameterUtil.encrypt(fileConfig.getConfigParameter())); fileConfigBhv.insertOrUpdate(fileConfig, op -> { op.setRefreshPolicy(Constants.TRUE); }); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.5K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java
import org.junit.runner.RunWith; import javax.net.ssl.SSLHandshakeException; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; /** * Let's Encrypt expiring root test. * * Read https://community.letsencrypt.org/t/mobile-client-workarounds-for-isrg-issue/137807 * for background. */ @RunWith(AndroidJUnit4.class) public class LetsEncryptTest {
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Nov 17 07:40:31 GMT 2020 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
/** * */ public static final int SMB2_SHAREFLAG_ENABLE_HASH_V2 = 0x4000; /** * */ public static final int SMB2_SHAREFLAG_ENCRYPT_DATA = 0x8000; /** * */ public static final int SMB2_SHARE_CAP_DFS = 0x8; /** * */ public static final int SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY = 0x10;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon May 23 14:35:20 GMT 2022 - 6.1K bytes - Viewed (0)