# lcx_encryption

> 一个轻量级的八进制加密库

Latest version **0.0.3** (published 2023-07-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install lcx_encryption
pnpm add lcx_encryption
yarn add lcx_encryption
bun add lcx_encryption
```

## 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.3 |
| Published | 2023-07-24 |
| First published | 2023-07-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | longchenxu |
| Maintainers | longchenxu |
| Keywords | 加密, 八进制, js |

## Links

- npm: https://www.npmjs.com/package/lcx_encryption
- npm.io page: https://npm.io/package/lcx_encryption

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.3 (latest) — 2023-07-24
- 0.0.2 — 2023-07-24
- 0.0.1 — 2023-07-21

## README

### 一个简单轻量级的八进制数据加密！lcx_encryption

#### 作者温馨提示: 

```
  不要使用该加密方法在生产上加密敏感数据，假如你执意要加密敏感数据，造成数据泄露，一切后果用户需自行承担使用风险。
```

### Using npm:
```js
 npm i lcx_encryption
```

### Using in Vue. and Using in React.
``` js
import { L_necCodeStringVal, L_decCodeStringVal } from 'lcx_encryption'

let val = 'I like you';
let result = L_necCodeStringVal(val); // 为加密函数。
console.log(result); // result 为加密后的一段长度不等字符。

let val = L_decCodeStringVal(result); // 为解密函数
console.log(val); // I like you
```

### Subsequent arrangement

1. 目前是使用自己密钥，后续会支持使用者自定义传递密钥。
2. 加密函数生成的字符，如果使用者传递的加密字符过多，那么加密出来的字符也是特别多，后期会进行更改，无论使用者传递多少字符始终返回特定长度的字符。
3. 大家使用中发现有问题，及时联系我。

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