SecureStorageSeedProvider class

Seed provider that persists encryption keys in Flutter secure storage.

Implemented types

Constructors

SecureStorageSeedProvider({FlutterSecureStorage? secureStorage, String defaultStorageKey = 'phive_encryption_key', Iterable<String> seedIds = const []})
Creates a provider backed by Flutter secure storage.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getSeedSync(String? seedId) List<int>
Returns a previously loaded seed for synchronous hook usage.
override
init() Future<void>
Loads or creates every configured seed and caches it in memory.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited