crypto

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: MIT Imports: 7 Imported by: 1

README

crypto

Go Reference

TODO


Copyright (c) 2022 Archivage Numérique

Documentation

Overview

Package crypto TODO

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
}

func New

func New() *Crypto

func (*Crypto) Decrypt

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

func (*Crypto) DecryptString

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

func (*Crypto) Encrypt

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

func (*Crypto) EncryptString

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

func (*Crypto) SetKey

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

Jump to

Keyboard shortcuts

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