Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wrathematics/getPass
Password function for R with masking (where supported)
https://github.com/wrathematics/getPass
Last synced: 20 days ago
JSON representation
Password function for R with masking (where supported)
- Host: GitHub
- URL: https://github.com/wrathematics/getPass
- Owner: wrathematics
- License: other
- Created: 2016-02-19T21:02:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-12-10T21:25:39.000Z (about 1 year ago)
- Last Synced: 2024-11-23T15:09:16.800Z (about 1 month ago)
- Language: TeX
- Size: 373 KB
- Stars: 47
- Watchers: 3
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - wrathematics/getPass - Password function for R with masking (where supported) (TeX)
README
# getPass
* **Version:** 0.2-3
* **URL**: https://github.com/wrathematics/getPass
* **License:** [BSD 2-Clause](https://opensource.org/license/bsd-2-clause/)
* **Author:** Drew Schmidt and Wei-Chen Chen**getPass** is an R package for reading user input with masking, i.e., the input is not displayed as it is typed. This is obviously ideal for entering passwords. There is also a secure password hashing function included; see the package vignette for more information.
Currently, RStudio, the command line (any OS), and platforms where the **tcltk** package is available are supported. We believe this hits just about everything, but for unsupported platforms, non-masked reading (with a warning) is optionally available. See the package vignette for more information. You can view the vignette by entering:
```r
vignette("getPass", package="getPass")
```into your R session.
## Installation
You can install the stable version from CRAN using the usual `install.packages()`:
```r
install.packages("getPass")
```The development version is maintained on GitHub, and can easily be installed by any of the packages that offer installations from GitHub:
```r
### Pick your preference
devtools::install_github("wrathematics/getPass")
ghit::install_github("wrathematics/getPass")
remotes::install_github("wrathematics/getPass")
```## Usage
```r
getPass::getPass()
```or
```r
library(getPass)
getPass()
```The function has several options available. See `?getPass` for more information.