/flutter-machine-learning-security

Protect your Machine Learning model in your Flutter application.

Primary LanguageC++Apache License 2.0Apache-2.0

Flutter Machine Learning Security

This repository contains techniques for encryption and decryption of machine learning models. Machine learning models deployed on mobile devices are vulnerable to a theft without a proper encryption techniques.

Flutter Bisonai Security plugin is located inside plugin directory.

Example Usage

python3 security.py \
    --encrypt \
    --input_file README.md \
    --output_file README_enc.md

python3 security.py \
    --decrypt \
    --input_file README_enc.md \
    --output_file README_dec.md

diff README.md README_dec.md

Unit tests

python -m unittest security_test

Flutter plugin

Test

cd plugin/test
mkdir build && cd build
cmake ..
make
./BisonaiSecurityTest

Resources