@openvireo/sdk - v0.2.0
    Preparing search index...

    Function resealVaultKey

    • Unseals an archived vault key with the old enc_sk (AAD ov-vault-key|<vault>) and seals it to the current enc_pk. opts (fixed ephemeral key and nonce) is for test vectors only.

      Parameters

      • oldEncSk: Uint8Array
      • currentEncPk: Uint8Array
      • vaultId: string
      • sealed: Uint8Array
      • Optionalopts: SealOptions

      Returns Uint8Array