crypto

package module
v0.0.0-...-d84a547 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2020 License: MIT Imports: 7 Imported by: 0

README

GoDoc Go Report Card

crypto


Copyright (c) 2020 Institut National de l'Audiovisuel

Documentation

Overview

Package crypto AFAIRE.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypto

type Crypto struct {
	// contains filtered or unexported fields
}

Crypto AFAIRE.

func New

func New() *Crypto

New AFAIRE.

func (*Crypto) Decrypt

func (c *Crypto) Decrypt(data []byte) ([]byte, error)

Decrypt AFAIRE.

func (*Crypto) DecryptString

func (c *Crypto) DecryptString(text string) (string, error)

DecryptString AFAIRE.

func (*Crypto) Encrypt

func (c *Crypto) Encrypt(data []byte) ([]byte, error)

Encrypt AFAIRE.

func (*Crypto) EncryptString

func (c *Crypto) EncryptString(text string) (string, error)

EncryptString AFAIRE.

func (*Crypto) SetKey

func (c *Crypto) SetKey(key string) error

SetKey AFAIRE.

Jump to

Keyboard shortcuts

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