Skip to content

Commit be73285

Browse files
authored
chore: Make user import hashing classes final (#425)
1 parent 5dd03b4 commit be73285

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

src/main/java/com/google/firebase/auth/hash/Bcrypt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Represents the Bcrypt password hashing algorithm. Can be used as an instance of
2525
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2626
*/
27-
public class Bcrypt extends UserImportHash {
27+
public final class Bcrypt extends UserImportHash {
2828

2929
private Bcrypt() {
3030
super("BCRYPT");

src/main/java/com/google/firebase/auth/hash/HmacMd5.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Represents the HMAC MD5 password hashing algorithm. Can be used as an instance of
2121
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2222
*/
23-
public class HmacMd5 extends Hmac {
23+
public final class HmacMd5 extends Hmac {
2424

2525
private HmacMd5(Builder builder) {
2626
super("HMAC_MD5", builder);

src/main/java/com/google/firebase/auth/hash/HmacSha1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Represents the HMAC SHA1 password hashing algorithm. Can be used as an instance of
2121
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2222
*/
23-
public class HmacSha1 extends Hmac {
23+
public final class HmacSha1 extends Hmac {
2424

2525
private HmacSha1(Builder builder) {
2626
super("HMAC_SHA1", builder);

src/main/java/com/google/firebase/auth/hash/HmacSha256.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Represents the HMAC SHA256 password hashing algorithm. Can be used as an instance of
2121
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2222
*/
23-
public class HmacSha256 extends Hmac {
23+
public final class HmacSha256 extends Hmac {
2424

2525
private HmacSha256(Builder builder) {
2626
super("HMAC_SHA256", builder);

src/main/java/com/google/firebase/auth/hash/HmacSha512.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Represents the HMAC SHA512 password hashing algorithm. Can be used as an instance of
2121
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2222
*/
23-
public class HmacSha512 extends Hmac {
23+
public final class HmacSha512 extends Hmac {
2424

2525
private HmacSha512(Builder builder) {
2626
super("HMAC_SHA512", builder);

src/main/java/com/google/firebase/auth/hash/Md5.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Represents the MD5 password hashing algorithm. Can be used as an instance of
2121
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2222
*/
23-
public class Md5 extends RepeatableHash {
23+
public final class Md5 extends RepeatableHash {
2424

2525
private Md5(Builder builder) {
2626
super("MD5", 0, 8192, builder);

src/main/java/com/google/firebase/auth/hash/Pbkdf2Sha256.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Represents the PBKDF2 SHA256 password hashing algorithm. Can be used as an instance of
2121
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2222
*/
23-
public class Pbkdf2Sha256 extends RepeatableHash {
23+
public final class Pbkdf2Sha256 extends RepeatableHash {
2424

2525
private Pbkdf2Sha256(Builder builder) {
2626
super("PBKDF2_SHA256", 0, 120000, builder);

src/main/java/com/google/firebase/auth/hash/PbkdfSha1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Represents the PBKDF SHA1 password hashing algorithm. Can be used as an instance of
2121
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2222
*/
23-
public class PbkdfSha1 extends RepeatableHash {
23+
public final class PbkdfSha1 extends RepeatableHash {
2424

2525
private PbkdfSha1(Builder builder) {
2626
super("PBKDF_SHA1", 0, 120000, builder);

src/main/java/com/google/firebase/auth/hash/Sha1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Represents the SHA1 password hashing algorithm. Can be used as an instance of
2121
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2222
*/
23-
public class Sha1 extends RepeatableHash {
23+
public final class Sha1 extends RepeatableHash {
2424

2525
private Sha1(Builder builder) {
2626
super("SHA1", 1, 8192, builder);

src/main/java/com/google/firebase/auth/hash/Sha256.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Represents the SHA256 password hashing algorithm. Can be used as an instance of
2121
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2222
*/
23-
public class Sha256 extends RepeatableHash {
23+
public final class Sha256 extends RepeatableHash {
2424

2525
private Sha256(Builder builder) {
2626
super("SHA256", 1, 8192, builder);

src/main/java/com/google/firebase/auth/hash/Sha512.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Represents the SHA512 password hashing algorithm. Can be used as an instance of
2121
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2222
*/
23-
public class Sha512 extends RepeatableHash {
23+
public final class Sha512 extends RepeatableHash {
2424

2525
private Sha512(Builder builder) {
2626
super("SHA512", 1, 8192, builder);

src/main/java/com/google/firebase/auth/hash/StandardScrypt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Represents the Standard Scrypt password hashing algorithm. Can be used as an instance of
2525
* {@link com.google.firebase.auth.UserImportHash} when importing users.
2626
*/
27-
public class StandardScrypt extends UserImportHash {
27+
public final class StandardScrypt extends UserImportHash {
2828

2929
private final int derivedKeyLength;
3030
private final int blockSize;

0 commit comments

Comments
 (0)