New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

h5-fire-crypt

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h5-fire-crypt

简单加密fire-crypt使用口

latest
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

h5-fire-crypt

用于调用react-fire-crypt

h5-fire-crypt的安装和使用

安装

yarn add h5-fire-crypt react-fire-crypt

初始化

import H5Crypt from 'h5-fire-crypt';
import Crypt from 'react-fire-crypt';

const KEY = ...你的加解密key

H5Crypt.setAdatper(new Crypt(KEY));

##使用

import H5Crypt from 'h5-fire-crypt'
//加密
H5Crypt.encrypt(encryptData)
//解密
H5Crypt.decrypt(decryptData)

Keywords

h5-fire-crypt

FAQs

Package last updated on 31 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts