High-level cryptography interface powered by libsodium
MPL-2.0 License
Bot releases are visible (Hide)
Published by paragonie-scott over 8 years ago
Symmetric\EncryptionKey
s, since we use HKDF anyway.getRawKeyMaterial()
method to all Key
classes. Please use this method instead of get()
in new code.Published by paragonie-scott over 8 years ago
finally
instead. (This should make it easier to audit.)(This time I used the correct branch.)
Published by paragonie-scott almost 9 years ago
Published by paragonie-scott almost 9 years ago
Asymmetric\EncryptionSecretKey
now has a derivePublicKey()
method which returns an EncryptionPublicKey
Asymmetric\SignatureSecretKey
now has a derivePublicKey()
method which returns a SignaturePublicKey
Asymmetric\Crypto::verify()
and Symmetric\Crypto::verify()
Published by paragonie-scott almost 9 years ago
final
to discourage inheritance (this change is the only reason why I didn't call it 1.2.1 instead of 1.3.0.)Published by paragonie-scott almost 9 years ago
Adds four new methods to KeyFactory
:
loadEncryptionPublicKey()
loadEncryptionSecretKey()
loadSignaturePublicKey()
loadSignatureSecretKey()
Also cleaned up some of the unit tests and added a bit to the documentation.
Published by paragonie-scott almost 9 years ago
The lazy method, File::verify()
was missing an argument. Since this is technically an API break, I'm increasing the minor version.
Published by paragonie-scott almost 9 years ago
This is first stable release of Halite, a simplified libsodium wrapper developed by Paragon Initiative Enterprises.
Published by paragonie-scott almost 9 years ago
Adds two more real-time test: sanity checks on the expected/actual values returned by fstat()
and ftell()
.
Published by paragonie-scott almost 9 years ago
Create objects to encapsulate streams; eliminate race conditions.
Published by paragonie-scott almost 9 years ago
Discovered numerous issues with the quality of the key generation code, which has been refactored into a KeyFactory
class.
Published by paragonie-scott almost 9 years ago
This marks the 0.6.0 release of Halite! Outside documentation, we're entering a code freeze until we get a clean bill of health from @defuse.
Changes since 0.5.2:
File
now has a simpler API (i.e. File::encrypt()
) that will invoke the necessary underlying API (encryptFile()
or encryptResource()
).Published by paragonie-scott about 9 years ago
File
wrapper against partial writes as well as partial readsConfig
object rather than an arrayPublished by paragonie-scott about 9 years ago
Fixed #10 (thanks @CodyColeman)
Published by paragonie-scott about 9 years ago
Add a streaming checksum interface. Originally intended for 0.4.0 but I forgot.
Published by paragonie-scott about 9 years ago
This is still not production-ready. I removed our \Sodium\crypto_box_seal
polyfill. Everyone should be on libsodium 1.0.3 proper (the PPAs seem borked) or 1.0.4 (if it's released) by the time Halite is stable.
Published by paragonie-scott about 9 years ago
Fix key derivation (did not return in derived Key
classes), added unit tests.
Travis CI now works with PHP 7.
Published by paragonie-scott about 9 years ago
This patch mostly addresses unit tests, correct exception naming, and ensuring composer.json makes it clear that this requires PHP 5.6 or newer.
Published by paragonie-scott about 9 years ago
Better class organization, made the documentation a bit easier.
Published by paragonie-scott about 9 years ago
Basic functionality exposed. There are still a few things left to do (namely: documentation and more unit tests).