Package io.trino.plugin.password.file
Class EncryptionUtil
java.lang.Object
io.trino.plugin.password.file.EncryptionUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleandoesBCryptPasswordMatch(String inputPassword, String hashedPassword) static booleandoesPBKDF2PasswordMatch(String inputPassword, String hashedPassword) static intgetBCryptCost(String password) static HashingAlgorithmgetHashingAlgorithm(String password) static intgetPBKDF2Iterations(String password)
-
Method Details
-
getBCryptCost
-
getPBKDF2Iterations
-
doesBCryptPasswordMatch
-
doesPBKDF2PasswordMatch
-
getHashingAlgorithm
-