Skip to main content

dart_secret 0.1.1 copy "dart_secret: ^0.1.1" to clipboard
dart_secret: ^0.1.1 copied to clipboard

A lightweight wrapper for sensitive strings that reduces (does not eliminate) in-memory persistence via explicit zeroize-on-dispose, inspired by Rust's secrecy/zeroize crates.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_secret

With Flutter:

 $ flutter pub add dart_secret

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_secret: ^0.1.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dart_secret/dart_secret.dart';
1
likes
0
points
106
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight wrapper for sensitive strings that reduces (does not eliminate) in-memory persistence via explicit zeroize-on-dispose, inspired by Rust's secrecy/zeroize crates.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on dart_secret