@ray-js/aes-utils
v0.0.9
Published
AES 加解密工具包
Downloads
454
Readme
English | 简体中文
@ray-js/aes-utils
AES Encryption and decryption toolkit
Installation
$ npm install @ray-js/aes-utils
# or
$ yarn add @ray-js/aes-utils
Usage
import { decryptImage } from '@ray-js/aes-utils';
const base64Image = decryptImage(url, key);
Dependencies
BaseKit >= 2.4.3
// BaseKit 2.3,2
ty.downloadFile(options);
const manager = ty.getFileSystemManager();
// BaseKit 2.4.3
const { data } = manager.readFileSync({
filePath: tempFilePath,
encoding: 'base64',
});