OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:plainData
(Results
1 - 7
of
7
) sorted by null
/libcore/support/src/test/java/tests/security/
CipherSymmetricCryptHelper.java
24
private static final String
plainData
= "some data to encrypt and decrypt test";
27
super(algorithmName,
plainData
, Cipher.ENCRYPT_MODE,
SignatureHelper.java
31
private final String
plainData
= "some data do sign and verify";
58
signature.update(
plainData
.getBytes());
77
signature.update(
plainData
.getBytes());
CipherAsymmetricCryptHelper.java
24
private static final String
plainData
= "some data to encrypt and decrypt test";
27
super(algorithmName,
plainData
, Cipher.ENCRYPT_MODE,
AlgorithmParameterSignatureHelper.java
35
private final String
plainData
= "some data do sign and verify";
83
signature.update(
plainData
.getBytes());
102
signature.update(
plainData
.getBytes());
CipherHelper.java
31
private final String
plainData
;
35
public CipherHelper(String algorithmName, String
plainData
, int mode1, int mode2) {
37
this.
plainData
=
plainData
;
57
byte[] encrypted = crypt(cipher,
plainData
.getBytes());
69
Assert.assertEquals("transformed data does not match",
plainData
,
AlgorithmParameterAsymmetricHelper.java
34
private static final String
plainData
= "some data to encrypt and decrypt";
75
bs = cipher.doFinal(
plainData
.getBytes());
99
Assert.assertTrue(Arrays.equals(
plainData
.getBytes(), decrypted));
AlgorithmParameterSymmetricHelper.java
34
private static final String
plainData
= "some data to encrypt and decrypt";
88
bs = cipher.doFinal(
plainData
.getBytes());
112
Assert.assertTrue(Arrays.equals(
plainData
.getBytes(), decrypted));
Completed in 60 milliseconds