crypt

package
v0.0.0-...-5339e54 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: BSD-3-Clause Imports: 9 Imported by: 2

Documentation

Overview

* BSD 3-Clause License * Copyright © 2022. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(data []byte, passphrase string) ([]byte, error)

Decrypt Decrypt data using tha passphrase

func DecryptFile

func DecryptFile(filename string, passphrase string) []byte

func DecryptString

func DecryptString(data string, passphrase string) (string, error)

func Encrypt

func Encrypt(data []byte, passphrase string) []byte

func EncryptFile

func EncryptFile(filename string, data []byte, passphrase string)

func EncryptString

func EncryptString(data string, passphrase string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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