Skip to content

Instantly share code, notes, and snippets.

@ThisIsMissEm
Created July 25, 2019 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThisIsMissEm/f737690734f29d256daff4d85f21fd06 to your computer and use it in GitHub Desktop.
Save ThisIsMissEm/f737690734f29d256daff4d85f21fd06 to your computer and use it in GitHub Desktop.
type Key {
constructor(identifier)
unlock(): Promise<void>
lock(): Promise()<void>
decrypt(value: ArrayBuffer): Promise<ArrayBuffer>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment