crypto

package
v1.5.23 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package crypto represents wrapper functions and interfaces over cryptographic primitives.

A package consists of many sub-packages: 1. asymmetric - asymmetric message encryption, message signing, 2. hashing - message hashing and message authentication code, 3. keybuilder - generating a key from a password, 4. puzzle - solving complex mathematical problems, 5. random - generation of random bytes, strings, numbers, 6. symmetric - symmetric message encryption.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDecrypter

type IDecrypter interface {
	DecryptBytes(pMsg []byte) []byte
}

type IEncrypter

type IEncrypter interface {
	EncryptBytes(pMsg []byte) []byte
}

type IParameter added in v1.5.21

type IParameter interface {
	GetType() string
	GetSize() uint64
}

Directories

Path Synopsis
Package asymmetric is a wrapper on standard Go package - rsa.
Package asymmetric is a wrapper on standard Go package - rsa.
Package hashing is a wrapper on standard Go packages - crypto/sha256 and crypto/hmac.
Package hashing is a wrapper on standard Go packages - crypto/sha256 and crypto/hmac.
Package keybuilder is wrapper on golang.org/x/crypto/pbkdf2 package.
Package keybuilder is wrapper on golang.org/x/crypto/pbkdf2 package.
Package puzzle uses a Proof-of-Work algorithm.
Package puzzle uses a Proof-of-Work algorithm.
Package random is a wrapper on standard Go package - crypto/rand.
Package random is a wrapper on standard Go package - crypto/rand.
Package symmetric is a wrapper on standard Go package - crypto/aes.
Package symmetric is a wrapper on standard Go package - crypto/aes.

Jump to

Keyboard shortcuts

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