Skip to content

juggist/flutter_encrpty

Repository files navigation

flutter_encrypt

A new flutter plugin project for DES encrypt.

Usage

To use this plugin, add flutter_encrypt as a dependency in your pubspec.yaml file. For example:

dependencies:
  flutter_encrypt: '^1.0.8'

API

IOS 需要额外的操作
在PodFile里添加
pod 'GLEncryptManager', :git => "https://github.com/GrayLand119/GLEncryptManager.git"


import 'package:flutter_encrypt/flutter_encrypt.dart';

String result = await FlutterEncryptLib.getDES("value", "key");

Note

publish需要终端代理(在terminal输入export http_proxy=socks5:ip,export https_proxy=socks5:ip 仍无效)
shadowsocks + proxifier

proxifier:(1)Proxies add address + port + SOCKS Version 5
(2)Rules Localhost->Target Hosts add address or ip

flutter packages pub publish --server=https://pub.dartlang.org -v

IOS 引入第三方包 (podspec 不支持ssl引入,其它可直接在podspec里引入 s.dependency 'name','~> 版本号')
1.先在Podfile 里引入 pod 'name', :git => 'xxxxx'
2.然后在Pods\Developement Pods\Pod\xxx.podspec\ 添加s.dependency 'name'
3.发布到dartpub
4.在新项目里引入发布到dartpub的插件,然后重复第一步操作,把第三方包正确引入到新项目里,让podspec能有引用

Author

This flutter_encrypt plugin for Flutter is developed by juggist. You can contact us at 735596768@qq.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors