Remove @author javadoc tag
This commit is contained in:
+4
-6
@@ -33,8 +33,6 @@ import rs.in.zivanovic.obfuscator.impl.V1ObfuscatorImpl;
|
||||
*
|
||||
* This method is useful for protecting potentially sensitive data from casual onlookers. It is NOT secure against
|
||||
* attackers with access to source code or live systems.
|
||||
*
|
||||
* @author Marko Zivanovic <marko@zivanovic.in.rs>
|
||||
*/
|
||||
public final class JPasswordObfuscator {
|
||||
|
||||
@@ -44,7 +42,7 @@ public final class JPasswordObfuscator {
|
||||
* Obfuscate data using supplied master key and current algorithm version.
|
||||
*
|
||||
* @param masterKey master key to use for obfuscation
|
||||
* @param data data to obfuscate
|
||||
* @param data data to obfuscate
|
||||
*
|
||||
* @return string containing obfuscated data; use {@link #deObfuscate} to get secret data from this string
|
||||
*/
|
||||
@@ -56,8 +54,8 @@ public final class JPasswordObfuscator {
|
||||
* Obfuscate data using supplied master key and algorithm version.
|
||||
*
|
||||
* @param masterKey master key to use for obfuscation
|
||||
* @param data data to obfuscate
|
||||
* @param version obfuscation algorithm version to use
|
||||
* @param data data to obfuscate
|
||||
* @param version obfuscation algorithm version to use
|
||||
*
|
||||
* @return string containing obfuscated data; use {@link #deObfuscate} to get secret data from this string
|
||||
*/
|
||||
@@ -75,7 +73,7 @@ public final class JPasswordObfuscator {
|
||||
/**
|
||||
* De-obfuscate string generated with {@link #obfuscate} method.
|
||||
*
|
||||
* @param masterKey master key to use for de-obfuscation; must match the key used for obfuscation
|
||||
* @param masterKey master key to use for de-obfuscation; must match the key used for obfuscation
|
||||
* @param obfuscatedString obfuscated string generated using one of {@link #obfuscate} methods
|
||||
*
|
||||
* @return original, de-obfuscated data
|
||||
|
||||
-2
@@ -27,8 +27,6 @@ import org.bouncycastle.util.encoders.Base64;
|
||||
|
||||
/**
|
||||
* Container for obfuscated data.
|
||||
*
|
||||
* @author Marko Zivanovic <marko@zivanovic.in.rs>
|
||||
*/
|
||||
public class ObfuscatedData {
|
||||
|
||||
|
||||
+2
-4
@@ -25,8 +25,6 @@ package rs.in.zivanovic.obfuscator.impl;
|
||||
|
||||
/**
|
||||
* Obfuscator/de-obfuscator interface.
|
||||
*
|
||||
* @author Marko Zivanovic <marko@zivanovic.in.rs>
|
||||
*/
|
||||
public interface Obfuscator {
|
||||
|
||||
@@ -34,7 +32,7 @@ public interface Obfuscator {
|
||||
* Obfuscate sensitive data using supplied master key.
|
||||
*
|
||||
* @param masterKey master key to use for data obfuscation
|
||||
* @param data sensitive data to obfuscate
|
||||
* @param data sensitive data to obfuscate
|
||||
*
|
||||
* @return obfuscated string
|
||||
*/
|
||||
@@ -44,7 +42,7 @@ public interface Obfuscator {
|
||||
* De-obfuscate data using supplied master key.
|
||||
*
|
||||
* @param masterKey master key to use for data de-obfuscation; must match master key used for obfuscation
|
||||
* @param data string obfuscated with {@link #obfuscate} to de-obfuscate
|
||||
* @param data string obfuscated with {@link #obfuscate} to de-obfuscate
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
||||
-2
@@ -31,8 +31,6 @@ import javax.crypto.spec.PBEKeySpec;
|
||||
|
||||
/**
|
||||
* Password Based Encryption (PBE) based obfuscator. Use as a base class for further specializations.
|
||||
*
|
||||
* @author Marko Zivanovic <marko@zivanovic.in.rs>
|
||||
*/
|
||||
public class PBEObfuscatorImpl implements Obfuscator {
|
||||
|
||||
|
||||
-2
@@ -29,8 +29,6 @@ import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
||||
/**
|
||||
* PBE-based obfuscator using <em>PBEWithSHA256And128BitAES</em> algorithm with 16,000 rounds, 8 bytes of randomly
|
||||
* generated salt and BouncyCastle as crypto provider.
|
||||
*
|
||||
* @author Marko Zivanovic <marko@zivanovic.in.rs>
|
||||
*/
|
||||
public class V1ObfuscatorImpl extends PBEObfuscatorImpl {
|
||||
|
||||
|
||||
-2
@@ -30,8 +30,6 @@ import org.junit.Test;
|
||||
|
||||
/**
|
||||
* Obfuscator unit tests.
|
||||
*
|
||||
* @author Marko Zivanovic <marko@zivanovic.in.rs>
|
||||
*/
|
||||
public class JPasswordObfuscatorTest {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user