Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
duriancrepe committed Feb 7, 2022
1 parent 3e159b9 commit 4606456
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions common/src/main/java/bisq/common/crypto/Encryption.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
import javax.crypto.KeyGenerator;
import javax.crypto.Mac;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.OAEPParameterSpec;
import javax.crypto.spec.PBEKeySpec;
import javax.crypto.spec.PSource;
import javax.crypto.spec.SecretKeySpec;

Expand Down Expand Up @@ -105,11 +103,6 @@ public static SecretKey getSecretKeyFromBytes(byte[] secretKeyBytes) {
return new SecretKeySpec(secretKeyBytes, 0, secretKeyBytes.length, SYM_KEY_ALGO);
}

public static byte[] getSecretKeyBytes(SecretKey secretKey) {
return secretKey.getEncoded();
}


///////////////////////////////////////////////////////////////////////////////////////////
// Hmac
///////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 4606456

Please sign in to comment.