View Source Windows.API.DataProtection (ex_windows_api_dataprotection v0.1.1)

Summary

Functions

Unwraps a binary for the given user.

Wraps a binary for the given user.

Functions

Unwraps a binary for the given user.

Examples

Demonstration of the round-trip property:

  iex> "some confidential input value"
  ...> |> wrap()   # encrypt/wrap
  ...> |> unwrap() # decrypt/unwrap
  "some confidential input value"

Wraps a binary for the given user.

Examples

  iex> "some confidential input value"
  ...> |> wrap()
  ...> |> byte_size()
  ...> |> (fn length -> length > 0 end).()
  true