b32

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2018 License: Unlicense, Unlicense Imports: 2 Imported by: 0

Documentation

Overview

Package b32 is a store for 32 byte values used for signatures and public/private keys

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type B32

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

B32 is a store for 32 byte values either securely, using a cipher to keep data encrypted when not in use, or a regular, unsecure byteslice

func New

func New() *B32

New creates a new B32

func (*B32) Arm

func (r *B32) Arm() cipher.Crypt

Arm is

func (*B32) Buf

func (r *B32) Buf() interface{}

Buf is

func (*B32) Cap

func (r *B32) Cap() int

Cap is

func (*B32) Ciphertext

func (r *B32) Ciphertext() *buf.Fenced

Ciphertext is

func (*B32) Codes

func (r *B32) Codes() []string

Codes is

func (*B32) Coding

func (r *B32) Coding() string

Coding is

func (*B32) Copy

func (r *B32) Copy(def.Buffer) def.Buffer

Copy is

func (*B32) Disarm

func (r *B32) Disarm() cipher.Crypt

Disarm is

func (*B32) Elem

func (r *B32) Elem(int) interface{}

Elem is

func (*B32) Error

func (r *B32) Error() string

Error is

func (*B32) Free

func (r *B32) Free() def.Buffer

Free is

func (*B32) IV

func (r *B32) IV() *buf.Unsafe

IV is

func (*B32) IsArmed

func (r *B32) IsArmed() bool

IsArmed is

func (*B32) IsSecure

func (r *B32) IsSecure() bool

IsSecure is

func (*B32) IsUnlocked

func (r *B32) IsUnlocked() bool

IsUnlocked is

func (*B32) Len

func (r *B32) Len() int

Len is

func (r *B32) Link(interface{}) def.Buffer

Link is

func (*B32) Load

func (r *B32) Load(interface{}) def.Buffer

Load is

func (*B32) Lock

func (r *B32) Lock() cipher.Crypt

Lock is

func (*B32) Move

func (r *B32) Move(def.Buffer) def.Buffer

Move is

func (*B32) New

func (r *B32) New(int) def.Buffer

New is

func (*B32) Null

func (r *B32) Null() def.Buffer

Null is

func (*B32) Password

func (r *B32) Password() *passbuf.Password

Password is

func (*B32) Purge

func (r *B32) Purge() interface{}

Purge is

func (*B32) Rand

func (r *B32) Rand(...int) def.Buffer

Rand is

func (*B32) Secure

func (r *B32) Secure(*buf.Fenced, *passbuf.Password, *buf.Unsafe) cipher.Crypt

Secure is

func (*B32) SetCoding

func (r *B32) SetCoding(string) interface{}

SetCoding is

func (*B32) SetElem

func (r *B32) SetElem(int, interface{}) interface{}

SetElem is

func (*B32) SetError

func (r *B32) SetError(string) interface{}

SetError is

func (*B32) SetIV

func (r *B32) SetIV(b *buf.Unsafe) cipher.Crypt

SetIV is

func (*B32) SetRandomIV

func (r *B32) SetRandomIV() cipher.Crypt

SetRandomIV is

func (*B32) Size

func (r *B32) Size() int

Size is

func (*B32) String

func (r *B32) String() string

String is

func (*B32) Unlock

func (r *B32) Unlock(p *passbuf.Password) cipher.Crypt

Unlock is

func (*B32) Unsecure

func (r *B32) Unsecure() cipher.Crypt

Unsecure is

func (*B32) UnsetError

func (r *B32) UnsetError() interface{}

UnsetError is

Jump to

Keyboard shortcuts

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