jsoncrypt

package
v0.0.0-...-0bc8776 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(data interface{}, secret []byte) (interface{}, error)

Decrypt decrypts unmarshaled JSON values with secret

func Encrypt

func Encrypt(data interface{}, secret []byte) (interface{}, error)

Encrypt ecrypts unmarshaled JSON values with secret

Types

This section is empty.

Directories

Path Synopsis
Package pkcs7 implements PKCS#7 padding This is a standard way of encoding variable length buffers into buffers which are a multiple of an underlying crypto block size.
Package pkcs7 implements PKCS#7 padding This is a standard way of encoding variable length buffers into buffers which are a multiple of an underlying crypto block size.

Jump to

Keyboard shortcuts

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