diff options
Diffstat (limited to 'common/src/main/kotlin/crypto/PwCrypto.kt')
-rw-r--r-- | common/src/main/kotlin/crypto/PwCrypto.kt | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/common/src/main/kotlin/crypto/PwCrypto.kt b/common/src/main/kotlin/crypto/PwCrypto.kt index 2dd8af07..11e3a7dd 100644 --- a/common/src/main/kotlin/crypto/PwCrypto.kt +++ b/common/src/main/kotlin/crypto/PwCrypto.kt @@ -19,21 +19,8 @@ package tech.libeufin.common.crypto -import org.bouncycastle.jce.provider.BouncyCastleProvider -import java.io.ByteArrayOutputStream -import java.io.InputStream -import java.math.BigInteger -import java.security.* -import java.security.interfaces.RSAPrivateCrtKey -import java.security.interfaces.RSAPublicKey -import java.security.spec.* -import javax.crypto.* -import javax.crypto.spec.IvParameterSpec -import javax.crypto.spec.PBEKeySpec -import javax.crypto.spec.PBEParameterSpec -import javax.crypto.spec.SecretKeySpec -import java.util.Base64 -import tech.libeufin.common.* +import tech.libeufin.common.encodeBase64 +import java.security.SecureRandom /** Cryptographic operations for secure password storage and verification */ object PwCrypto { |