Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.2%) to scientific vocabulary
Repository
Wrapper for bcrypt in R
Basic Info
Statistics
- Stars: 18
- Watchers: 1
- Forks: 0
- Open Issues: 4
- Releases: 2
Metadata Files
README.md
bcrypt
Blowfish Password Hashing Algorithm
An R interface to the OpenBSD 'blowfish' password hashing algorithm, as described in "A Future-Adaptable Password Scheme" by Niels Provos. The implementation is derived from the 'py-bcrypt' module for Python which is a wrapper for the OpenBSD implementation.
See Also
This package is mostly to work with existing bcrypt hashes. For new applications consider using scrypt as implemented in sodium::password_store or the script package.
Hello World
```r
Secret message as a string
passwd <- "supersecret"
Create the hash
hash <- hashpw(passwd) hash
To validate the hash
identical(hash, hashpw(passwd, hash))
Or use the wrapper
checkpw(passwd, hash)
Use varying complexity:
hash11 <- hashpw(passwd, gensalt(11)) hash12 <- hashpw(passwd, gensalt(12)) hash13 <- hashpw(passwd, gensalt(13))
Takes longer to verify (or crack)
system.time(checkpw(passwd, hash11)) system.time(checkpw(passwd, hash12)) system.time(checkpw(passwd, hash13))
```
Installation
The libbcrypt source code is currently bundled with the package:
r
install.packages("bcrypt")
Owner
- Name: Jeroen Ooms
- Login: jeroen
- Kind: user
- Location: Utrecht
- Company: Berkeley Institute for Data Science
- Twitter: opencpu
- Repositories: 372
- Profile: https://github.com/jeroen
Staff research engineer for @ropensci
GitHub Events
Total
Last Year
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Jeroen Ooms | j****s@g****m | 44 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 6
- Total pull requests: 0
- Average time to close issues: 4 months
- Average time to close pull requests: N/A
- Total issue authors: 6
- Total pull request authors: 0
- Average comments per issue: 2.67
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mikkelkrogsholm (1)
- CrisBMoya (1)
- sorenoneill (1)
- dylancis (1)
- jeroen (1)
- Idriss0peaccel (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- openssl * imports
- spelling * suggests
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite