dart_secure 0.1.0 copy "dart_secure: ^0.1.0" to clipboard
dart_secure: ^0.1.0 copied to clipboard

A new Flutter Framework that uses Dart Programming Language

# Dart Secure Package

A Dart package that provides a set of functionalities for enhancing user authentication and data encryption in your Dart applications. This package integrates multiple cybersecurity practices to help you secure sensitive user data and interactions. The package includes the following features:

## Features

### Biometric User Authentication

The `BiometricAuth` feature provides a simple and secure way to implement biometric user authentication in your application. It supports various biometric authentication methods available on the device. Here's a sample usage:

```dart
var authStatus = await BiometricAuth();
if (authStatus == AuthenticationStatus.successful) {
  print("Authentication successful, continue");
} else {
  print("Authentication unsuccessful, try again");
}

In-App Encryption #

The InAppEncryption feature allows you to encrypt sensitive data within your application using a specified encryption key. This helps protect data from unauthorized access. Here's a sample usage:

String encryptedAddress = inAppEncrypt(text: "User's Address", key: "MyUsersAddress");

Hash Encryption #

The hashEncryption feature provides a way to securely hash data, making it useful for scenarios like password storage. It helps ensure that sensitive data cannot be easily reversed. Here's a sample usage:

String encryptedAddress = hashEncrypt(text: "User's Address", key: "MyUsersAddress");

In-App Decryption #

The InAppDecryption feature allows you to decrypt encrypted data within your application using the appropriate decryption key. This feature is used to retrieve the original data after encryption. Here's a sample usage:

String encryptedAddress = InAppDecryption(cipher: "######################", key: "MyUsersAddress");

Getting Started #

To use this package, add dart_secure as a dependency in your pubspec.yaml file:

dependencies:
  dart_secure: ^0.1.0

Then import the necessary features in your Dart code:

import 'package:dart_secure/dart_secure.dart';

Version History #

0.1.0 #

Initial release of the Dart Secure framework that integrates multiple cybersecurity practices.

For more details and information about the package usage, please refer to the package's GitHub repository.

If you encounter any issues or have suggestions for improvement, feel free to open an issue on GitHub.

Happy coding!

3
likes
0
points
101
downloads

Publisher

verified publishersaifalmajd.blogspot.com

Weekly Downloads

A new Flutter Framework that uses Dart Programming Language

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

encrypt, flutter, local_auth

More

Packages that depend on dart_secure