0 purchases
sodium web
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>
copied to clipboard
Add to your pubspec.yaml
dependencies:
sodium_web: ^9.0.1
copied to clipboard
Import the plugin
import 'package:sodium_web/sodium_web.dart';
copied to clipboard
And you are good to go : )
Check example directory for any issue with the setup.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.