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.
Interface Summary Interface Description ExtendedPasswordHasherExtends
PasswordHasherby a method to detect responsibility.
ICryptingDelegateDelegate for encrypting and decrypting. ICryptingDelegateFactoryInterface for factories creating crypting delegates. PasswordHasherAn interface that is able to hash passwords and check existing hashes against a password.
Class Summary Class Description BCryptBCrypt implements OpenBSD-style Blowfish password hashing using the scheme described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres. BlowfishPasswordHasherUses salted Blowfish hashes from BCrypt. CombinedPasswordHasherImplements a combined strategy to hash passwords. DataSignerThe class for signing and verifying signatures. DecrypterThe class for decrypting strings. DefaultCryptingDelegateImplements basic crypting decrypting. DefaultCryptingDelegateFactoryCreates a crypting delegator. DummyPasswordHasherA dummy implementation that actually does not hash any password but uses the plain password. EncrypterClass for encrypting strings. EncryptionUtilsBasic function for helping in encryption. KeyGenThe class for generating key pairs. Md5PasswordHasherUses salted MD5 hashes from
PhpPasswordHasherUses PHP-alike hashes. Sha256PasswordHasherUses salted SHA256 hashes from
Sha512PasswordHasherUses salted SHA512 hashes from