JSPM

lcx_encryption

0.0.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q21847F
    • License MIT

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

    Package Exports

    • lcx_encryption
    • lcx_encryption/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lcx_encryption) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

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

    这个加密文件非常小,只有几kb,不适合用于严谨的加密地方。

    Using npm:

    npm i lcx_encryption

    Using in Vue. and Using in React.

    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