Skip to content

Bisonai/flutter-machine-learning-security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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