TomSecretsUnlockBundle constructor
A bundle of compositeKey (32 bytes; a copy is kept) and outerKey.
Implementation
TomSecretsUnlockBundle({required List<int> compositeKey, this.outerKey})
: compositeKey = Uint8List.fromList(compositeKey) {
if (compositeKey.length != tomSecretsCompositeKeyBytes) {
throw const TomSecretsBundleException('a composite key has 32 bytes');
}
}