Skip to content

noebs/ipin.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipin

Library for IPIN encryption (for EBS and noebs). Lightweight, only uses dart, built on top of Crypton library.

How to use it

$ # update pubspec.yaml with the library
import 'package:ipin/ipin.dart';

final key =
    "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANx4gKYSMv3CrWWsxdPfxDxFvl+Is/0kc1dvMI1yNWDXI3AgdI4127KMUOv7gmwZ6SnRsHX/KAM0IPRe0+Sa0vMCAwEAAQ==";
// final id = Uuid().v4();
final id = Uuid().v4();
final ipin = await Ipin(clearIpin: "0000", uuid: id, pubKey: key).encrypt();

// ipin is the new encrypted ipin block. NOTE you will to use `id` in UUID request field.

pubKey is the public key you get via our API (docs.noebs.dev) uuid is uuid. NOTE, the same UUID we use for encryption is the one we send in our subsequent API calls. clearIpin: is the clear ipin entered by the user

Visit [https://docs.noebs.dev](for more information).

About

IPIN library for flutter / dart for EBS and noebs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages