Uses of Enum
com.aoapps.io.posix.PosixFile.CryptAlgorithm
-
Uses of PosixFile.CryptAlgorithm in com.aoapps.io.posix
Modifier and TypeMethodDescriptionstatic PosixFile.CryptAlgorithm
Returns the enum constant of this type with the specified name.static PosixFile.CryptAlgorithm[]
PosixFile.CryptAlgorithm.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic String
PosixFile.crypt
(String password, PosixFile.CryptAlgorithm algorithm) Hashes a password using the provided crypt algorithm and a defaultSecureRandom
instance, which is not a strong instance to avoid blocking.static String
PosixFile.crypt
(String password, PosixFile.CryptAlgorithm algorithm, SecureRandom secureRandom) Hashes a password using the provided crypt algorithm and the provided random source.