xor_encryption 0.0.5 copy "xor_encryption: ^0.0.5" to clipboard
xor_encryption: ^0.0.5 copied to clipboard

This package is an implementation of xor cipher for encrypting strings in flutter.

XOR Encryption is an encryption method used to encrypt data and is hard to crack by brute-force method, i.e generating random encryption keys to match with the correct one. The XOR Encryption algorithm is a very effective yet easy to implement method of symmetric encryption. Due to its effectiveness and simplicity, the XOR Encryption is an extremely common component used in more complex encryption algorithms used nowadays. In cryptography, the simple XOR cipher is a type of additive cipher, an encryption algorithm that operates according to the principles of exclusive or operator.

Features #

  • Encryption & Decryption of String using XOR Cipher

Getting started #

    dart pub add xor_encryption
import 'package:xor_encryption/xor_encryption.dart';

Usage #

void main() {
    final String key = XorCipher().getSecretKey(20);
    print('key: $key');
    String text = '123456';
    final encrypted =XorCipher().encryptData(text,key);
    print('encreypteed: ${encrypted}');
    final decrypted =XorCipher().encryptData(encrypted,key);
    print('encreypteed: ${decrypted}');
}

Mobile Screenshots #

screenshot 1 screenshot 2 screenshot 3
screenshot 4 screenshot 5

Web screenshots #

screenshot 1 screenshot 2 screenshot 3
screenshot 4 screenshot 5
6
likes
160
points
52
downloads
screenshot

Publisher

verified publisheraishayy.com

Weekly Downloads

This package is an implementation of xor cipher for encrypting strings in flutter.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #encryption #dart #cipher #string

Documentation

API reference

Funding

Consider supporting this project:

patreon.com

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on xor_encryption