git://git.nikiroo.be
/
fanfix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e1dd026
)
jDoc
author
Niki Roo
<niki@nikiroo.be>
Thu, 30 May 2019 23:04:23 +0000
(
01:04
+0200)
committer
Niki Roo
<niki@nikiroo.be>
Thu, 30 May 2019 23:04:23 +0000
(
01:04
+0200)
src/be/nikiroo/utils/CryptUtils.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/utils/CryptUtils.java
b/src/be/nikiroo/utils/CryptUtils.java
index 55737c30d5d28a983a9141c001d9c29cad657ca0..638f82f298a27b6d87db29ae5324f904ccff08eb 100644
(file)
--- a/
src/be/nikiroo/utils/CryptUtils.java
+++ b/
src/be/nikiroo/utils/CryptUtils.java
@@
-63,15
+63,15
@@
public class CryptUtils {
}
/**
}
/**
- * Create a new instance of {@link CryptUtils} with the given 128 b
yte
s key.
+ * Create a new instance of {@link CryptUtils} with the given 128 b
it
s key.
* <p>
* <p>
- * The key <b>must</b> be exactly 128 b
yte
s long.
+ * The key <b>must</b> be exactly 128 b
it
s long.
*
* @param bytes32
* the 128 bits (32 bytes) of the key
*
* @throws InvalidKeyException
*
* @param bytes32
* the 128 bits (32 bytes) of the key
*
* @throws InvalidKeyException
- * if the key is not an array of 128 b
yte
s
+ * if the key is not an array of 128 b
it
s
*/
public CryptUtils(byte[] bytes32) throws InvalidKeyException {
init(bytes32);
*/
public CryptUtils(byte[] bytes32) throws InvalidKeyException {
init(bytes32);
@@
-196,7
+196,7
@@
public class CryptUtils {
}
/**
}
/**
- * This method required an array of 128 b
yte
s.
+ * This method required an array of 128 b
it
s.
*
* @param bytes32
* the array, which <b>must</b> be of 128 bits (32 bytes)
*
* @param bytes32
* the array, which <b>must</b> be of 128 bits (32 bytes)
@@
-366,7
+366,7
@@
public class CryptUtils {
try {
return new String(decrypt(data), "UTF-8");
} catch (UnsupportedEncodingException e) {
try {
return new String(decrypt(data), "UTF-8");
} catch (UnsupportedEncodingException e) {
- // UTF-8 is required in all conf
i
rm JVMs
+ // UTF-8 is required in all conf
o
rm JVMs
e.printStackTrace();
return null;
}
e.printStackTrace();
return null;
}
@@
-417,7
+417,7
@@
public class CryptUtils {
try {
return new String(decrypt(StringUtils.unbase64(data)), "UTF-8");
} catch (UnsupportedEncodingException e) {
try {
return new String(decrypt(StringUtils.unbase64(data)), "UTF-8");
} catch (UnsupportedEncodingException e) {
- // UTF-8 is required in all conf
i
rm JVMs
+ // UTF-8 is required in all conf
o
rm JVMs
e.printStackTrace();
return null;
} catch (IOException e) {
e.printStackTrace();
return null;
} catch (IOException e) {