sodium_web 0.0.4
sodium_web: ^0.0.4 copied to clipboard
A new flutter plugin project for [libsodium](https://libsodium.gitbook.io/doc/) support on flutter web with the help of [libsodium.js](https://github.com/jedisct1/libsodium.js/).
sodium_web #
A new flutter plugin project for libsodium support on flutter web with the help of libsodium.js.
Installing #
Web setup
Download the sodium.js file from https://raw.githubusercontent.com/jedisct1/libsodium.js/master/dist/browsers-sumo/sodium.js
and add it to you flutter web directory. Then in your web/index.html add
<script src="sodium.js"></script>
Add to your pubspec.yaml
dependencies:
sodium_web: ^9.0.1
Import the plugin
import 'package:sodium_web/sodium_web.dart';
And you are good to go : )
Check example directory for any issue with the setup.