encryption

package module
v0.0.0-...-1b33f7f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateEncryptedDocument

func GenerateEncryptedDocument(htmlStr string, accessRequirements []string, pubKeys map[string]tinkpb.Keyset) (string, error)

Public function to generate an encrypted HTML document given the original.

func RetrieveTinkPublicKey

func RetrieveTinkPublicKey(publicKeyURL string) (tinkpb.Keyset, error)

Retrieves a Tink public key from the given URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL