bcrypt

Wrapper for bcrypt in R

https://github.com/jeroen/bcrypt

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
Last synced: 11 months ago · JSON representation

Repository

Wrapper for bcrypt in R

Basic Info
  • Host: GitHub
  • Owner: jeroen
  • License: other
  • Language: C
  • Default Branch: master
  • Homepage:
  • Size: 56.6 KB
Statistics
  • Stars: 18
  • Watchers: 1
  • Forks: 0
  • Open Issues: 4
  • Releases: 2
Created about 11 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog License

README.md

bcrypt

Blowfish Password Hashing Algorithm

Build Status AppVeyor Build Status Coverage Status CRAN_Status_Badge CRAN RStudio mirror downloads Github Stars

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

Staff research engineer for @ropensci

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 44
  • Total Committers: 1
  • Avg Commits per committer: 44.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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

DESCRIPTION cran
  • openssl * imports
  • spelling * suggests
.github/workflows/R-CMD-check.yaml actions
  • 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