crypto

package
v0.0.0-...-942729a Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package crypto represents algorithms for encrypting and decrypting data

Index

Constants

This section is empty.

Variables

View Source
var BitcoinBase58 = base58([]byte("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"))

BitcoinBase58 initialize Base58 sructure for Bitcoin with received alphabet

Functions

This section is empty.

Types

type Base58

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

Base58 structeure represent base 58 cryptographic algorithm

func (*Base58) Decode

func (base58 *Base58) Decode(src []byte) ([]byte, error)

Decode decrypting encrypted base 58 src

func (*Base58) Encode

func (base58 *Base58) Encode(src []byte) ([]byte, error)

Encode encrypting src using base 58 algorithm

Jump to

Keyboard shortcuts

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