scrypt
Version, currently 0.2.26 versions
github.com/ysbaddaden/scrypt-crystal
Crystal bindings for Colin Percival's scrypt library
27 stars
0 dependents
License: BSD-2-Clause
Nothing has been indexed for 0.2.2 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
scrypt:
github: ysbaddaden/scrypt-crystal
version: ~> 0.2.2Then run:
shards installshard.yml
No shard.yml has been indexed for 0.2.2. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
# scrypt (crystal)
Crystal bindings for Colin Percival's scrypt library.
The scrypt key derivation function was originally developed for use in the
Tarsnap online backup system and is designed to be far more secure against
hardware brute-force attacks than alternative functions such as PBKDF2 or
bcrypt.
- http://www.tarsnap.com/scrypt.html
## Install
Using [Shards](https:/github.com/ysbaddaden/shards), add the scrypt dependency
to your `shard.yml` then run `shards install`.
```yaml
dependencies:
scrypt:
github: ysbaddaden/scrypt-crystal
```
If you're not using Shards, you may clone the repository then run `make lib` to
download and compile the `libscrypt.a` library.
## Usage
```crystal
require "scrypt"
# hash
hashed_password = Scrypt::Password.create("super awesome")
# compare
hashed_password == "super awesome" # => true
hashed_password == "super wrong" # => false
```
## Authors
- Julien Portalier <julien@portalier.com>
## License
Distributed under the [BSD 2-Clause](https://opensource.org/licenses/BSD-2-Clause)
license.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.2- Tagged
- Apr 14, 2023
- Commit
25b88cf6eec0- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/ysbaddaden/scrypt-crystal
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 6