package internal
Type Members
-
class
JBCrypt extends AnyRef
An implementation of JBCrypt meant to be used with tsec, a subset of the code from org.mindrot.BCrypt, from original author Damien Miller <djm@mindrot.org>
An implementation of JBCrypt meant to be used with tsec, a subset of the code from org.mindrot.BCrypt, from original author Damien Miller <djm@mindrot.org>
We use this implementation with the presumed assumption that a user will use it _only_ through tsec. Thus it only accepts one form of salt (The one generated through here), and it does not expose a genSalt that doesn't pass a SecureRandom (for speed). If you decide to use it directly, note that you should pass a SecureRandom() yourself directly, and that it does not accept strings. This is for security purposes.
Again, this is not meant to be used outside of tsec, and it does _not_ support ARM which may have a different encoding for the u\0000 char.