Package rs.baselib.crypto
package rs.baselib.crypto
Provides support for encrypting, decrypting and signing streams.
The package provides standard implementations and utilities to easy encrypt and decrypt strings as well as working with signatures.
-
ClassDescriptionBCrypt implements OpenBSD-style Blowfish password hashing using the scheme described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres.Uses salted Blowfish hashes from BCrypt.Implements a combined strategy to hash passwords.The class for signing and verifying signatures.The class for decrypting strings.Exception thrown from decryption process.Implements basic crypting decrypting.Creates a crypting delegator.A dummy implementation that actually does not hash any password but uses the plain password.Class for encrypting strings.Exception thrown from encryption process.Basic function for helping in encryption.Extends
PasswordHasher
by a method to detect responsibility.Delegate for encrypting and decrypting.Interface for factories creating crypting delegates.The class for generating key pairs.Uses salted MD5 hashes fromMd5Crypt
.An interface that is able to hash passwords and check existing hashes against a password.Uses PHP-alike hashes.Uses salted SHA256 hashes fromSha2Crypt
.Uses salted SHA512 hashes fromSha2Crypt
.Exception thrown from signing process.