affinidi_tdk_vault_data_manager 1.5.0 copy "affinidi_tdk_vault_data_manager: ^1.5.0" to clipboard
affinidi_tdk_vault_data_manager: ^1.5.0 copied to clipboard

The Affinidi TDK - Vault Data Manager package provides the interface to interact with Afinidi's Vault Data Manager service.

example/README.md

Vault Data Manager Examples #

This directory contains examples demonstrating how to use the Vault Data Manager package, which is part of the Affinidi TDK.

Encryption #

1. Generate Encryption Material #

Shows how to generate a data encryption material which includes:

  • DEK encrypted with wallet crypto material
  • DEK encrypted with API public key
  • SHA-256 hash of wallet crypto material

View Example

2. Convert Wallet-Encrypted DEK to API-Encrypted DEK #

Shows how to convert a DEK encrypted with wallet material to one encrypted with the API's public key - View Example

3. Retrieve Wallet Crypto Material Hash #

Shows how to derive a SHA-256 hash of the wallet crypto key used for verification - View Example