symcrypt 0.0.4 copy "symcrypt: ^0.0.4" to clipboard
symcrypt: ^0.0.4 copied to clipboard

Dart 1 only

Symmetric encryptage with utils functions.

example/symcrypt.dart

// Copyright (c) 2015, <your name>. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

library symcrypt.example;

import 'package:symcrypt/symcrypt.dart' as Symcrypt;

main() {
  String data;
  String key;
  String encryptData;
  String decryptData;

  data = "Toto";
  key = Symcrypt.createHash("Key");
  encryptData = Symcrypt.encrypt(data, key);
  decryptData = Symcrypt.decrypt(encryptData, key);
}
0
likes
25
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Symmetric encryptage with utils functions.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

cipher, crypto

More

Packages that depend on symcrypt