# caesar-encrypt

> One of the simplest forms of encryption

Latest version **0.0.2** (published 2017-06-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install caesar-encrypt
pnpm add caesar-encrypt
yarn add caesar-encrypt
bun add caesar-encrypt
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2017-06-26 |
| First published | 2017-02-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Bu Kinoshita |
| Maintainers | bukinoshita |
| Keywords | caesar, encrypt, encryption, caesar-encrypt, cipher, caesar-cipher |

## Links

- npm: https://www.npmjs.com/package/caesar-encrypt
- Repository: https://github.com/bukinoshita/caesar
- Homepage: https://github.com/bukinoshita/caesar#readme
- Issues: https://github.com/bukinoshita/caesar/issues
- npm.io page: https://npm.io/package/caesar-encrypt

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2017-06-26
- 0.0.1 — 2017-02-23

## README

# caesar-encrypt [![Build Status](https://travis-ci.org/bukinoshita/caesar.svg?branch=master)](https://travis-ci.org/bukinoshita/caesar)
> One of the simplest forms of encryption


## Install
```
$ npm install --save caesar-encrypt
```


## Usage
```js
import { encrypt, decrypt } from 'caesar-encrypt'

encrypt('not-my-password', 1)
// => opu.nz.qbttxpse

decrypt('opu.nz.qbttxpse', 1)
// => not-my-password
```


## API
### caesarEncrypt

### .encrypt(input, shift)

#### input
Type: `string`<br/>
Required

#### shift
Type: `number`<br/>
Required

shift should be a number between 1-26


### .decrypt(input, shift)

#### input
Type: `string`<br/>
Required

#### shift
Type: `number`<br/>
Required

shift should be a number between 1-26

## Understand Caesar Cipher
> The Caesar cipher, also known as a shift cipher, is one of the simplest forms of encryption. It is a substitution cipher where each letter in the original message (called the plaintext) is replaced with a letter corresponding to a certain number of letters up or down in the alphabet. [Learn more](https://learncryptography.com/classical-encryption/caesar-cipher)


## Related
- [save-me](https://github.com/bukinoshita/save-me) — :lock: Save anything


## License
MIT © [Bu Kinoshita](https://bukinoshita.io)

---
_Source: https://npm.io/package/caesar-encrypt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
