Skip to content

Commit

Permalink
- SecretManager#DEFAULT_HMAC_ALGORITHM = HmacSHA256
Browse files Browse the repository at this point in the history
- SecretManager#KEY_LENGTH = 128

Change-Id: I1e8cfb102ce8ab85b12206dc645a9dace56e1b90
  • Loading branch information
K0K0V0K committed Nov 4, 2024
1 parent 8c41fbc commit dfef74c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ public void checkAvailableForRead() throws StandbyException {
/**
* The name of the hashing algorithm.
*/
private static final String DEFAULT_HMAC_ALGORITHM = "HmacSHA1";
private static final String DEFAULT_HMAC_ALGORITHM = "HmacSHA256";

/**
* The length of the random keys to use.
*/
private static final int KEY_LENGTH = 64;
private static final int KEY_LENGTH = 128;

/**
* A thread local store for the Macs.
Expand Down

0 comments on commit dfef74c

Please sign in to comment.